joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4447b0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4447c7
add esp, 0xfffffff0
call fcn.004032b0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00415858
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40f76c]
call fcn.00402f80
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40f76c]
call fcn.00402f80
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x4176f0]
call fcn.0041eb58
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x44493c
mov eax, dword [0x4b9978]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041ef28
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4462bc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4b9978]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c408
test eax, eax
je 0x4448ba
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408dd0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c430
test eax, eax
je 0x4448ce
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403e68
mov eax, dword [0x4b9844]
cmp byte [eax], 0
jne 0x4448ff
mov eax, ebx
call fcn.00444a28
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x444931
call fcn.00403308
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x444c98
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4ba7d0]
cmp dword [eax + 0x24], 0
je 0x444d3b
cmp dword [ebx + 0x84], 0
jne 0x444d35
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x444c28
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x444d35
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x444cfe
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x444d35
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.00410e30
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x444d0d
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x445748
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x44577d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403d20
jmp 0x445787
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403c8c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x446630
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x446668
mov eax, esi
call fcn.0042e438
test al, al
je 0x446668
mov eax, dword [ebx + 0x74]
call fcn.0042e13c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x446668
push 0
mov eax, dword [ebx + 0x74]
call fcn.0042e13c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44e268
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x44e292
cmp dword [ebx + 0x64], 0
jne 0x44e292
cmp dword [ebx + 0x6c], 0
jne 0x44e292
mov edi, esi
jmp 0x44e319
cmp edi, 0xffffffff
jne 0x44e29a
dec edi
jmp 0x44e319
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x44e319
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0044d664
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x44e2e7
mov cx, word [esp]
sub cx, si
jmp 0x44e2e9
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x44e2d0
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x44e30f
mov cx, word [esp]
sub cx, si
jmp 0x44e311
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x44e2f8
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x44e376
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.0044e004
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x44e361
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x44e376
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x44e272
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x454564
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4ba888
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x454586
shr eax, 1
xor eax, 0xedb88320
jmp 0x454588
shr eax, 1
dec edx
jne 0x454574
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x45456d
mov byte [0x4bac88], 1
pop esi
pop ebx
ret

Function at 0x4545a4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4bac88], 0
jne 0x4545bb
call fcn.00454564
mov eax, edi
dec eax
test eax, eax
jl 0x4545e4
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4ba888]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4545c5
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x456e10
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x456e41
dec al
je 0x456e82
dec al
je 0x456ec6
dec al
je 0x456f31
jmp 0x456fbb
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x456fbb
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x456e51
jmp 0x456fbb
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x456fbb
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x456e92
jmp 0x456fbb
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x456fbb
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x456ef4
xor ebp, ebp
jmp 0x456f05
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x456f0e
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x456ed6
jmp 0x456fbb
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x456fbb
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x456f89
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004545ec
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x456f45
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x45d1cc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x45d1fa
mov eax, ebx
call fcn.0045dc70
cmp dword [ebx + 0x3c], 0
je 0x45d1f3
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x45d26b
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x45d25d
cmp dword [ebx + 8], 0
je 0x45d21c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x45d22e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45d25d
cmp dword [ebx + 8], 0
je 0x45d20f
cmp eax, 3
je 0x45d241
dec eax
jne 0x45d20f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45d20f
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x45d20f
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x45d289
cmp dword [ebx + 0x10], 0xcc
je 0x45d289
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045d294
pop ebx
ret

Function at 0x46e944
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040407c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x46e95d
test al, 0x10
jne 0x46e961
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x46fc64
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
call fcn.0040406c
xor eax, eax
push ebp
push 0x46fd79
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x28]
call fcn.00403eb8
test eax, eax
jne 0x46fca4
lea eax, [ebp - 0x28]
mov edx, 0x46fd90
call fcn.00403cd0
xor ebx, ebx
lea esi, [ebp - 0x30]
mov eax, dword [ebp - 0x28]
call fcn.00403eb8
push eax
mov eax, ebx
pop edx
mov ecx, edx
cdq
idiv ecx
mov eax, dword [ebp - 0x28]
mov al, byte [eax + edx]
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x46fca9
mov eax, dword [ebp - 0x24]
call fcn.00412c7c
xor edx, edx
mov eax, dword [ebp - 0x20]
call fcn.004128f8
xor edx, edx
mov eax, dword [ebp - 0x24]
call fcn.004128f8
lea edx, [ebp - 0x14]
mov ecx, 8
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 4]
mov dword [ebp - 0xc], eax
mov ebx, 8
lea eax, [ebp - 0x30]
lea edx, [ebp - 0x14]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x46fd03
cmp dword [ebp - 0xc], 8
jne 0x46fd3d
push ebp
call fcn.0046fbb4
pop ecx
mov ebx, 8
lea eax, [ebp - 0x30]
lea edx, [ebp - 0x1c]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x46fd24
lea edx, [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 8]
jmp 0x46fd4b
lea edx, [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 8]
cmp dword [ebp - 0xc], 8
je 0x46fce5
xor edx, edx
mov eax, dword [ebp - 0x24]
call fcn.004128f8
mov eax, dword [ebp - 0x20]
call fcn.00412c7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fd80
lea eax, [ebp - 0x28]
call fcn.00403c38
ret
Function at 0x4769ec
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040406c
mov eax, dword [ebp + 0x10]
call fcn.0040406c
xor eax, eax
push ebp
push 0x476aee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push esi
mov ecx, dword [ebp - 4]
mov edx, edi
mov eax, ebx
call fcn.00470d88
mov eax, dword [ebx + 0xc]
mov edx, 0x476b08
call fcn.00403fc8
jne 0x476a60
xor eax, eax
mov dword [ebx + 0x3c], eax
xor eax, eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], 0x320
mov dword [ebx + 0x48], 0x258
jmp 0x476a78
xor eax, eax
mov dword [ebx + 0x3c], eax
xor eax, eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], 0x64
mov dword [ebx + 0x48], 0x64
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x30], esi
lea eax, [ebx + 0x4c]
call fcn.00403c38
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x54], eax
mov byte [ebx + 0x58], 1
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 0
mov byte [ebx + 0x5b], 0
xor eax, eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x60], eax
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, dword [ebx + 0x4c]
mov eax, ebx
call fcn.00476500
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x38]
call fcn.00403c8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476af5
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403c5c
lea eax, [ebp + 0x10]
call fcn.00403c38
ret
Function at 0x477688
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040406c
mov eax, dword [ebp + 0x10]
call fcn.0040406c
xor eax, eax
push ebp
push 0x4777c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, ebx
call fcn.004769ec
mov dword [ebx + 0x84], 0xffffff
mov dword [ebx + 0x94], 0xffffff
mov dword [ebx + 0x98], 0xff
lea eax, [ebx + 0x88]
mov edx, dword [ebx + 0x14]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + 4]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00403c8c
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov edx, dword [0x47bfc8]
call fcn.00403140
mov eax, dword [eax + 0x18]
mov edx, dword [eax]
lea eax, [ebx + 0x8c]
call fcn.00403c8c
mov edx, dword [ebp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x18]
mov edx, dword [eax + 4]
mov ecx, dword [ebx + 0x88]
mov esi, dword [ebx + 0x14]
mov eax, esi
call fcn.0047bc10
mov edx, dword [esi + 0x18]
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [ebx + 0x90]
mov edx, dword [ebx + 0x8c]
call fcn.0047c368
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0x9d], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
xor eax, eax
mov dword [ebx + 0xa4], eax
xor edx, edx
mov eax, ebx
call fcn.00477a50
xor edx, edx
mov eax, ebx
call fcn.00477a70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4777ce
lea eax, [ebp - 4]
call fcn.00403c38
lea eax, [ebp + 0x10]
call fcn.00403c38
ret
Function at 0x4ab830
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], eax
mov ebp, 0x4bae0c
mov eax, dword [ebp + 0x28]
call fcn.00405248
mov edi, eax
test edi, edi
jl 0x4ab88b
inc edi
xor ebx, ebx
imul esi, ebx, 0x17
mov eax, dword [ebp + 0x28]
cmp byte [eax + esi*4 + 4], 1
jne 0x4ab867
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp + 0x28]
mov dword [edx + esi*4 + 0x4c], eax
mov eax, dword [ebp + 0x28]
mov eax, dword [eax + esi*4 + 0x14]
call fcn.00405240
dec eax
jle 0x4ab887
call sub.kernel32.dll_GetTickCount
add eax, 0x3e8
mov edx, dword [ebp + 0x28]
mov dword [edx + esi*4 + 0x1c], eax
inc ebx
dec edi
jne 0x4ab84e
call sub.kernel32.dll_GetTickCount
mov dword [0x4bafb4], eax
cmp dword [0x4b97ac], 0
je 0x4ab8e6
call sub.kernel32.dll_GetTickCount
sub eax, dword [0x4b97ac]
add dword [ebp + 0xb0], eax
cmp dword [0x4bb004], 0xffffffff
je 0x4ab8df
mov eax, dword [esp]
mov eax, dword [eax + 0x2d0]
mov eax, dword [eax + 4]
mov edx, dword [0x4bb004]
mov eax, dword [eax + edx*4]
mov edx, dword [0x475598]
call fcn.00403140
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x2c]
xor eax, eax
mov dword [0x4b97ac], eax
cmp dword [0x4b97b0], 0
je 0x4ab937
call sub.kernel32.dll_GetTickCount
sub eax, dword [0x4b97b0]
add dword [ebp + 0xac], eax
cmp dword [0x4bb000], 0xffffffff
je 0x4ab930
mov eax, dword [esp]
mov eax, dword [eax + 0x2d0]
mov eax, dword [eax + 4]
mov edx, dword [0x4bb000]
mov eax, dword [eax + edx*4]
mov edx, dword [0x475598]
call fcn.00403140
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
xor eax, eax
mov dword [0x4b97b0], eax
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4af51c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x24], edx
xor eax, eax
push ebp
push 0x4af652
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4bb04c]
call fcn.00403eb8
cmp eax, 0x18
jne 0x4af63c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x4af660
push 0x80000001
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x4af63c
lea edx, [ebp - 0x24]
mov eax, dword [0x4bb04c]
call fcn.0046f9b4
mov edx, dword [ebp - 0x24]
mov eax, 0x4bb04c
call fcn.00403c8c
mov ebx, 1
lea esi, [ebp - 0x20]
mov eax, ebx
and eax, 0x80000001
jns 0x4af5a6
dec eax
or eax, 0xfffffffe
inc eax
dec eax
jne 0x4af5b6
mov eax, dword [0x4bb04c]
mov al, byte [eax + ebx - 1]
mov byte [esi], al
jmp 0x4af5c2
mov eax, 0xff
call fcn.00402c30
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 0x19
jne 0x4af598
push 0x18
lea eax, [ebp - 0x20]
push eax
push 3
push 0
push 0x4af680
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, 1
lea esi, [ebp - 0x20]
mov eax, ebx
and eax, 0x80000001
jns 0x4af5f7
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4af608
mov eax, dword [0x4bb04c]
mov al, byte [eax + ebx - 1]
mov byte [esi], al
jmp 0x4af614
mov eax, 0xff
call fcn.00402c30
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 0x19
jne 0x4af5e9
push 0x18
lea eax, [ebp - 0x20]
push eax
push 3
push 0
push 0x4af68c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af659
lea eax, [ebp - 0x24]
call fcn.00403c38
ret

Function at 0x4af698
Capabilities:
Set registry value

Disassembly:
add esp, 0xffffffe0
lea eax, [esp + 4]
push eax
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x4af708
push 0x80000001
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x4af704
mov edx, 1
lea eax, [esp + 8]
mov ecx, dword [0x4b97fc]
mov cl, byte [ecx + edx - 1]
mov byte [eax], cl
inc edx
inc eax
cmp edx, 4
jne 0x4af6ce
push 0x18
lea eax, [esp + 0xc]
push eax
push 1
push 0
push 0x4af728
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
add esp, 0x20
ret
Function at 0x406682
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x406736
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00406612
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x40670f
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x406742
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x40675d
test ebp, ebp
je 0x40675d
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x406765
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x4067a5
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x406801
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x4067fc
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4067e7
test dl, dl
je 0x4067e3
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4067e7
add ecx, 2
add eax, 2
test dl, dl
jne 0x4067c7
xor eax, eax
jmp 0x4067ec
sbb eax, eax
or eax, 1
test eax, eax
je 0x40680b
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x4067b4
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x406822
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.00406682
test eax, eax
jne 0x40683a
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.00406742
mov esi, eax
test esi, esi
jne 0x406870
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x40688a
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret