joyce8/EMBER2024-capa huggingface dataset:
Function at 0x16c06cc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x16c2168
sub eax, eax
test esi, esi
je 0x16c07a4
sub eax, 1
test ecx, ecx
je 0x16c07a2
test esi, 3
je 0x16c070a
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x16c06ef
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x16c0789
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x16c0714
mov ecx, edx
test ecx, ecx
je 0x16c07a2
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x16c078f
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x16c07ac
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.016c082f
jae 0x16c07ba
xor ecx, ecx
call fcn.016c082f
jae 0x16c07e9
xor eax, eax
call fcn.016c082f
jae 0x16c07f9
mov bl, 2
inc ecx
mov al, 0x10
call fcn.016c082f
adc al, al
jae 0x16c07db
jne 0x16c0825
stosb byte es:[edi], al
jmp 0x16c07bd
call fcn.016c083b
sub ecx, ebx
jne 0x16c0802
call fcn.016c0839
jmp 0x16c0821
lodsb al, byte [esi]
shr eax, 1
je 0x16c084b
adc ecx, ecx
jmp 0x16c081e
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.016c0839
cmp eax, 0x7d00
jae 0x16c081e
cmp ah, 5
jae 0x16c081f
cmp eax, 0x7f
ja 0x16c0820
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x16c07bd
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x16c117c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x16c4000]
jne 0x16c1186
repz ret
jmp fcn.016c142d
Function at 0x40e7b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.waecTbTU
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x40e7d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40e7d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40e7c8
mov eax, 1
add ebx, ebx
jne 0x40e7eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40e7e0
jne 0x40e7fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e7e0
xor ecx, ecx
sub eax, 3
jb 0x40e810
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40e882
mov ebp, eax
add ebx, ebx
jne 0x40e81b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40e828
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40e84c
inc ecx
add ebx, ebx
jne 0x40e838
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40e82d
jne 0x40e849
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e82d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40e86c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40e85d
jmp 0x40e7ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40e86c
add edi, ecx
jmp 0x40e7ce
pop esi
mov edi, esi
mov ecx, 0x17b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40e88a
cmp byte [edi], 7
jne 0x40e88a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40e88f
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x40e8fe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe958]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe9b0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40e8bc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe9b8]
or eax, eax
je 0x40e8f8
mov dword [ebx], eax
add ebx, 4
jmp 0x40e8d9
call dword [esi + 0xe9b4]
mov ebp, dword [esi + 0xe9bc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40e932
sub esp, 0xffffff80
jmp 0x402752

Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
xor eax, eax
push eax
push eax
push eax
push str.http:__www.microsoft.com_security_malwareremove_
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret 0x10
Function at 0x404a37
Capabilities:
Packed with generic packer

Disassembly:
push dword [esp + 0xc]
push 0
call 0xf9c21375
add byte [eax], al
inc eax
add byte [ebp + eax - 0x7d], dh
rol dword [ebx + ebp*8], 0xf3
mov ebx, 0
mov esi, 0
lea edi, [ebx + 0x7a4100]
add byte [ecx + 0x7a], al
add byte [edi + 0x33], dl
leave

Function at 0x404a6c
Capabilities:
Packed with generic packer

Disassembly:
cmp ecx, 0xf00000
je 0x404af4
cmp ecx, 0x300023
jne 0x404aee
pop esi
sub esi, 0x20000
mov edi, esi
mov al, 0x90
mov ecx, 0x20000
add bl, dh
stosb byte es:[edi], al
push esi
mov ebx, 0
mov esi, 0
lea edi, [ebx + 0x7a4100]
lea ecx, [ebx + 0x4373]
mov ebx, 0x40a600
add byte [esi - 0xcfcffc0], ah
cmp ecx, 0
je 0x404abb
xor ebx, ebx
mov al, 0xff
and al, byte [esi]
mov byte [edi + ebx], 0xff
and byte [edi + ebx], al
inc esi
inc edi
dec ecx
jmp 0x404aa4
pushal
xor ebx, ebx
lea edi, [ebx + 0x7a4100]
mov ecx, 0x400
cmp ecx, 0
je 0x404adc
mov al, byte [edi]
xor al, 0x40
stosb byte es:[edi], al
dec edi
add edi, 4
sub ecx, 4
jmp 0x404ac9
popal
pop esi
mov eax, 0x801020
sub esi, 0x10000
mov dword [esp], esi
jmp esi
inc ecx
jmp 0x404a60
add byte [ebx + 0x46f60446], cl
adc al, 8
mov dword [ebp - 8], eax
je 0x404b07
push eax
call edi
mov dword [ebp - 8], eax
test byte [esi + 0x14], 4
pop edi
je 0x404b18
push eax
push dword [ebp + 0xc]
call dword [0x40703c]
test byte [esi + 0x14], 0x10
je 0x404b3f
mov eax, dword [esi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x404b32
push eax
call dword [0x407044]
lea eax, [ebp - 0xc]
push eax
call dword [0x407048]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
jmp 0x404b46
pop esi
leave
ret 0xc
Function at 0x102f4043
Capabilities:
Encode data using xor

Disassembly:
or ecx, ecx
call fcn.1027bbd4
pushal
sub al, 0x30
call fcn.10278e91
in al, 0xbd
loopne 0x102f40bc
cmc
mov bh, 0x64
xchg byte [esi + 0x24], dh
movsd dword es:[edi], dword [esi]
ror edi, 1
out 0xca, eax
invalid
sahf
pop edi
adc al, byte [ecx - 0x25b36173]
stc
pop edi
insd dword es:[edi], dx
jnp 0x102f410d
push esp
lodsd eax, dword [esi]
loop 0x102f40b4
pop esi
dec ebp
fistp dword [edi + 0x75]
aam 0x49
je 0x102f4147
imul ecx, dword [ecx + 0x32af3b25], 0xf
sbb dword [eax + eax - 0x22c73d38], eax
idiv byte [0x95a28dfe]
pop ebp
sahf
mov bl, 0xbf
and al, 0xf7
adc eax, 0xca578b18
adc al, 0x77
into
push ds
adc dword [ebx - 0x60b0cadb], 0xffffffe8
jne 0x102f4165
mov ebx, 0x32a3332d
xchg byte [ebp - 0x31cede69], al
shl eax, cl
cmp eax, 0x1183ebbb
test bh, dl
adc dword [ecx], 0xffffff84
xlatb
popfd
or eax, 0x29398fdd
mov edi, 0xf435763d
pop esp
jmp 0x102f4197
pop ebx
clc
invalid

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

Disassembly:
stc
cmp ecx, dword [ebp - 8]
mov byte [esp], dh
call fcn.10272773
Function at 0x102f44ab
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp ecx, dword [ebp - 8]
push ebx
call fcn.102f53c5
lea edi, [eax*2 - 0x48d844d1]
lea ebx, [ecx + 0x4219e2a7]
pop ebx
jmp 0x1036c33c
cmp cl, 0xf3
add ecx, edx
call fcn.10273f3a
add byte [eax], al
inc ebp
js 0x102c328f
push ebx
insb byte es:[edi], dx
arpl word gs:[ebx + eax*2 + 0x6c], si
imul esi, dword [eax + 0x52], 0xe8006e67
inc edi
imul edi, ebx, 0xffffffff
mov edi, ebx
rcl al, cl
cmc
mov al, 0x2e
test ax, 0x3a0e
bt sp, 0xa
in al, 0xa
repne scasb al, byte es:[edi]
pushfd
lea esp, [esp + 4]
jne 0x10279d4e
test dword [ebx], eax
imul edi, ebx, 0xffffffff
bswap ax
push 0xb8591d6
setae ah
jmp 0x102f5134
or ecx, dword [edi]
xchg ebx, eax
invalid
and byte cs:[ebx], dh
fild word [edx]
cmp eax, 0xf6928f2f
stosd dword es:[edi], eax
jp 0x102c3246
inc esi
wait
loopne 0x102c3252
xor al, 0xa7
jne 0x102c323c
invalid
mov ecx, dword [edx + 0x18]
sub esp, 0xfffffff4
pushal
stc
clc
jmp 0x10273abd
jmp 0x102f4c6f
lea esp, [esp + 0x28]
je fcn.102c6519
bt esi, 3
btr si, dx
xor dh, 0xf5
shld dx, bp, cl
mov esi, dword [eax + 0x3c]
add dl, bl
add dh, 0x90
rcr dl, cl
rol dl, 2
add esi, eax
adc dx, di
mov edx, dword [esi + 0x78]
stc
test edx, edx
pushal
mov word [esp], dx
lea esp, [esp + 0x20]
je fcn.102c6519
push eax
movsx cx, dl
shr ecx, cl
sal cx, cl
add edx, eax
rcr cl, cl
sar cl, 7
inc ecx
mov ecx, dword [esi + 0x7c]
lea esp, [esp + 4]
je 0x102c320c
clc
pushfd
add ecx, edx
push 0x97d5800d
bt sp, 8
mov dword [ebp - 0x10], ecx
stc
shl cx, cl
mov ecx, dword [ebp + 0xc]
pushfd
pushal
mov dword [esp + 4], 0x943a218f
pushfd
cmp ecx, 0xffff
pushfd
push edi
pushfd
lea esp, [esp + 0x3c]
jbe 0x102f3135
push 0xde9e23d
mov edi, dword [edx + 0x24]
pushfd
adc cx, 0x74fa
shl cl, 1
and ch, 0x38
add edi, eax
dec cx
adc cx, di
mov ebx, dword [edx + 0x20]
setle cl
add ebx, eax
lea ecx, [eax + 0xa67bfd3]
add ch, 0xcb
movsx cx, cl
mov dword [ebp - 8], 0
pushfd
jmp 0x102c4a8d
mov byte [edi - 1], 0
seto al
cwde
mov dword [esp], ebx
movzx ax, bl
lahf
lea eax, [0x102c24f2]
pushal
pushfd
push edi
call fcn.102788db
inc ebp
xchg esp, eax
dec ecx
add edx, dword [eax + 0x34]
imul edi, edi, 0x69995d0f
xor byte [esi], bl
popfd
mov cl, 0xa1
mov dword [esp + esi*4], edx
test eax, 0x3566ac3c
inc esi
xchg esp, eax
inc ebp
xchg ebp, eax
dec esp
sbb al, 0xab
cmp dword [eax + 0x30], esp
fadd qword [ecx]
in eax, dx
xor byte [0xc0d21cfe], ch
push esi
adc eax, 0xeb65d106
add dword fs:[eax - 0x7e7e5ebd], edx
mov eax, dword [0xad70a88]
call 0x293955ac
sti
fcomp qword [esi - 0x482132bd]
and edi, esi
sbb al, 0xcf
fnstsw word [edi]
mov ebx, dword [ecx - 0x29bf6c85]
mov edi, 0xa84a9967
invalid
not di
xchg di, bp
call fcn.1027ab66
Function at 0x402970
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x4029ad
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x4029cd
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.004048f4
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402b34
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404684
test esi, esi
jne 0x402b6a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404774
jmp 0x402b88
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a48
mov edi, eax
test esi, esi
je 0x402b88
cmp dword [ebx], 0
je 0x402b88
dec esi
jmp 0x402b71
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403138
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x490008], 0x8088405
inc edx
mov dword [ebx + 0x490008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4036f8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x490024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403790
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403770
xor eax, eax
push ebp
push 0x403769
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4037ac
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403770
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x490024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x490024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404484
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49304c], 0
je 0x4044e5
cmp word [0x493220], 0xd7b2
jne 0x4044ad
cmp dword [0x493228], 0
jbe 0x4044ad
mov eax, 0x49321c
call dword [0x493238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x490074
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40450c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x490034], 0
jne 0x404501
push 0
push 0x49006c
push 0x490074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404638
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.0040275c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x49304d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404600
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4065bc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406622
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004048f4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403154
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40660c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406629
lea eax, [ebp - 0x10]
call fcn.00404684
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404b44
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408ff9
test al, 0x10
jne 0x408ffd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40bba8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bbe1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404774
jmp 0x40bbea
mov eax, ebx
mov edx, esi
call fcn.004046d8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bbf4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bc15
mov al, byte [esp]
jmp 0x40bc17
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c29c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c114
mov eax, dword [0x491e54]
cmp byte [eax], 0
je 0x40c318
mov eax, dword [0x491ad0]
call fcn.00402f98
call fcn.004028c4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409300
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c360
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c34e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x491a44]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x493668]
call fcn.00405ad0
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40cbfc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40ccd2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040471c
lea eax, [ebp - 8]
call fcn.00404b94
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404b44
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ccbc
mov eax, ebx
call fcn.0040275c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ccb5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404b44
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cc9f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cce4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cc9f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ccbc
mov eax, dword [ebp - 0x10]
call fcn.0040277c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ccd9
lea eax, [ebp - 8]
call fcn.00404684
ret

Function at 0x40d208
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d26c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004048f4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408c40
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d273
lea eax, [ebp - 0xc]
call fcn.00404684
ret

Function at 0x422124
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00421f7c
dec esi
jne 0x422146
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x423288
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49388c
cmp dword [edi], 0
jne 0x423304
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x493888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4904ac
mov ecx, 2
call fcn.00402a08
mov edx, 0x423260
lea eax, [esi + 5]
call fcn.00423280
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423280
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4232d9
mov dword [0x493888], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x424548
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42454e
ret

Function at 0x426d50
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x426da1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x426d88
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x426d78
jmp 0x426da1
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x426d89
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432cf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404b44
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x432d48
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x492024]
mov dl, 1
mov eax, dword [0x4328a8]
call fcn.0040c45c
call fcn.0040403c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004329b0
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x446d98
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x446ce4
call sub.user32.dll_EnumWindows
ret

Function at 0x446eb8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x446f35
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00446918
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x446edd
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00446518
cmp dword [ebp - 4], 0
je 0x446f1f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404b44
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446f3c
lea eax, [ebp - 4]
call fcn.00404684
ret