joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413bed
Capabilities:
Encode data using xor

Disassembly:
or eax, 0x14cc25b2
popfd
invalid
out dx, eax
and esi, dword [edx]
xchg ebp, eax
xor eax, dword [ecx + 0x28]
xchg esi, eax
cmp eax, 0x34740ca4
xchg ebp, eax
push dword [ebp + 0x61]
cmpsb byte [esi], byte es:[edi]
jno 0x413bdd
sub edi, esp
xor ah, byte [eax - 0x368a013d]
mov ah, 0xdf
neg dword [ecx]
out 0xdf, eax
and eax, 0xe01fd6a5
dec edx
inc ebx
invalid

Function at 0x44a810
Capabilities:
Get common file path

Disassembly:
sub esp, 0x23c
lea eax, [esp]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, 0x104
jbe 0x44a82f
xor eax, eax
mov ecx, dword [esp + 0x240]
lea edx, [esp + eax*2]
push ecx
push str._s.dll
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
add esp, 0x23c
ret 4

Function at 0x453f4f
Capabilities:
Encode data using xor

Disassembly:
pop ecx
std
jnp 0x453fc1
jo 0x453f97
mov fs, word [edx - 0x34]
fsubr qword [edx + 0x170258ab]
push cs
pop ebp
inc edx
xor byte [esi + 0x1f], bh
pop eax
pushfd
sub eax, 0xe7812cd8
invalid
mov word [ebx + ebp*8 + 0x6a], ds
ja 0x453f9c
push dword [eax + 0x60]
jo 0x453fff
invalid
add byte [ebp - 0x6b], 0x91
int3
push 0x2a42ac2b
stc
adc al, 0xb6
outsd dx, dword [esi]
fsub qword [edx + 0x1c]
dec esp
or al, 0x14
invalid
invalid

Function at 0x492cfa
Capabilities:
Encode data using xor

Disassembly:
jg 0x492cbe
das
add esp, dword [edx + 0x4a7272df]
dec dword [ebp - 0x166935ec]
pop esi
push eax
invalid
invalid
add al, 0x3c
shl ecx, 0xac
cmp al, 0x9b
push ds
je 0x492d03
or ch, byte [ecx - 0x352c3061]
test eax, 0xcad3cf9f
jp 0x492d15
push ss
adc eax, 0x33719edf
push 0x5f6c6f7e
sbb al, 0xfa
pop ebp
int3
mov dh, byte [edx - 0x55502c04]
cmpsb byte [esi], byte es:[edi]
xor dword [ebx + 0x6b29afcd], ebp
or al, 0x86
jg 0x492ce9
mov ebx, dword [edx + 0x16d895cb]
pushfd
loop 0x492cc9
xchg ebp, eax
fcom dword [esi]
lcall 0x1e8d, 0x2a35004f
in al, dx
add byte [0xec1e8d2a], dh
jle 0x492c9f
jg 0x492c90
jg 0x492ce9
or dword [edx - 0x36], ebx
or ecx, dword [edi]
jge 0x492d7f
imul ebp, dword [ebx], 0x12280fd2
sub edx, edx
movaps xmm2, xmmword [edx]
mov eax, 0xba64c1c2
sub byte [ebx], 0xaf
seto dl
or bl, dl
int 0xe3
std
jge 0x492cba
jge 0x492cfb
pushfd
js 0x492d65
dec esp
enter 0xffffffffffffe023, 8
sub dword [ebp - 0x7d], esp
lodsb al, byte [esi]
jmp 0x492d8c
nop
mov esp, 0x8e1cd224
push 0xffffffffffffff82
inc ebp
insb byte es:[edi], dx
pop ss
fld xword [esi + 0x25dd8962]
sbb ch, byte [edi]
sub dword [edx - 0x20f6c022], ecx
xchg ecx, eax
mov dh, 0x9d
pop esp
xor cl, byte [edi + 0x3991ab9d]
sub byte [ecx - 4], ch
adc eax, 0x6f572448
dec eax
and al, 0x57
outsd dx, dword [esi]
repne stosb byte es:[edi], al
invalid

Function at 0x527595
Capabilities:
Encode data using xor

Disassembly:
pextrw eax, mm0, 0
orpd xmm7, xmm2
pextrw ecx, xmm4, 3
and eax, 0xff
add eax, 1
and eax, 0x1fe
mulsd xmm7, qword [eax*4 + 0x609e80]
movlpd xmm5, qword [eax*4 + 0x609e80]
add eax, eax
movapd xmm6, xmmword [eax*4 + 0x60a290]
mov edx, 0x7fef
sub edx, ecx
sub ecx, 0x10
or ecx, edx
cmp ecx, 0x80000000
invalid
sbb ebx, 2
Function at 0x5c499f
Capabilities:
Encode data using xor

Disassembly:
call 0x1e3e1da4
sbb esp, eax
out dx, al
add ecx, dword [ebp + 0x17]
test byte [edx + eax*8 + 0x18], 0xd6
sbb dh, dl
push 0xa601289a
jne 0x5c4918
inc bh
je 0x5c4996
cmpsd dword [esi], dword es:[edi]
clc
rcl dword [ebx + esi*2 - 0x512f2045]
in al, 0xf1
lds ebp, [0xce751307]
adc esi, dword [ebp - 0x32]
cmp dword [esi - 0x3b4b32fc], ebx
dec ebp
push edi
test byte [ebp + 0x4f67a769], cl
dec edi
or bh, byte [esi + 0x28]
imul esi, dword [esi - 0x6b8851d2], 0xd40a838b
daa
dec edi
pushal
mov esi, 0x5da2ac92
xor al, 0x6a
pop edi
adc al, 0x60
pop edx
pop edi
push esp
dec ebx
in al, 0x6e
cmpsd dword [esi], dword es:[edi]
outsb dx, byte [esi]
xchg esp, eax
dec ax
loopne 0x5c4926
dec edi
outsd dx, dword [esi]
cli
or edx, dword [esi - 5]
call 0x9584269f
sub esp, 0x58180159
pushal
sbb al, 0x21
jge 0x5c4951
pushal
push edi
push esi
push ds
xor al, 0xb0
sti
sbb ch, byte [ebp + 0x1e8a431f]
dec esi
test byte [ecx], al
sti
loop 0x5c4941
rcr byte [edi + 0x4c], 0x1f
fisttp word gs:[esi + 0x66fda92c]
test dh, ch
nop
insd dword es:[edi], dx
out 0xa7, al
shr byte [edx + eax - 0x7b], 0xc4
inc esi
sub al, 0xa
or al, 0x5f
salc
int3
Function at 0x4023cf
Capabilities:
Enumerate gui resources
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
push 0
push 0x402357
call dword [sym.imp.USER32.dll_EnumWindows]
and dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jbe 0x40246c
or ecx, 0xffffffff
push ebx
push edi
xor eax, eax
mov edi, 0x4012b8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, ecx
or ecx, 0xffffffff
mov esi, edi
lea edx, [ebp - 0x108]
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
shr ecx, 2
dec edi
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [ebp - 0x108]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
pop edi
pop ebx
je 0x40246c
push 0x4012c8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40246c
lea ecx, [ebp - 4]
push ecx
call eax
test eax, eax
jne 0x40246c
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 4]
test eax, eax
je 0x402479
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
je 0x402484
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
leave
ret
Function at 0x4058a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
movsx eax, byte [esi]
test eax, eax
jne 0x4058d4
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea esi, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push esi
call fcn.004056b0
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.00405df0
pop ecx
mov ebx, eax
test eax, eax
jne 0x405907
push 1
call fcn.00405390
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [ebx + eax*4]
push eax
push ebx
push esi
call fcn.004056b0
add esp, 0x14
mov eax, dword [ebp - 4]
dec eax
mov dword [0x4486b4], eax
mov dword [0x4486b0], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405940
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 8]
jmp 0x405978
or eax, 0xffffffff
inc eax
cmp byte [ebx + eax], 0
jne 0x405961
inc eax
mov esi, eax
movsx eax, byte [ebx]
cmp eax, 0x3d
je 0x405976
add dword [ebp - 4], esi
add ebx, esi
cmp byte [ebx], 0
jne 0x40595e
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.00405df0
pop ecx
mov edi, eax
mov dword [0x4487bc], eax
test eax, eax
jne 0x40599b
push 1
call fcn.00405390
pop ecx
mov ebx, dword [ebp - 8]
jmp 0x4059c2
or eax, 0xffffffff
inc eax
cmp byte [ebx + eax], 0
jne 0x4059a3
inc eax
mov esi, eax
movsx eax, byte [ebx]
cmp eax, 0x3d
je 0x4059c0
push ebx
push edi
call fcn.00406670
pop ecx
pop ecx
add edi, esi
add ebx, esi
movsx eax, byte [ebx]
test eax, eax
jne 0x4059a0
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402b68
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.00404a2c
test esi, esi
jne 0x402b9e
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.00404b1c
jmp 0x402bbc
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a1c
mov edi, eax
test esi, esi
je 0x402bbc
cmp dword [ebx], 0
je 0x402bbc
dec esi
jmp 0x402ba5
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x403a80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x541024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403b18
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403af8
xor eax, eax
push ebp
push 0x403af1
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 0x403b34
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 0x403af8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x541024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x541024], ax
mov esp, ebp
pop ebp
ret

Function at 0x40482c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x54504c], 0
je 0x40488d
cmp word [0x545220], 0xd7b2
jne 0x404855
cmp dword [0x545228], 0
jbe 0x404855
mov eax, 0x54521c
call dword [0x545238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x541074
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 0x4048b4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x541034], 0
jne 0x4048a9
push 0
push 0x54106c
push 0x541074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4049e0
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.004027e0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x54504d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4049a8
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4060b8
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4062e8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40613b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4062e8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40613b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406304
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4061c4
xor eax, eax
push ebp
push 0x4061bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405f00
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4061a2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406324
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4061a2
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4061c4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4062de
cmp byte [ebp - 0xd], 0
jne 0x40620b
cmp byte [ebp - 0x12], 0
je 0x4062de
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406224
dec ebx
cmp byte [ebx], 0x2e
je 0x406233
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406223
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4062de
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406270
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4062de
cmp byte [ebp - 0xd], 0
je 0x4062de
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4062de
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4069cc
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 0x406a32
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.00404c9c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403460
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406a1c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a39
lea eax, [ebp - 0x10]
call fcn.00404a2c
ret

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

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

Function at 0x40d764
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 0x40d79d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404b1c
jmp 0x40d7a6
mov eax, ebx
mov edx, esi
call fcn.00404a80
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40d7b0
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 0x40d7d1
mov al, byte [esp]
jmp 0x40d7d3
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40dfa4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40de1c
mov eax, dword [0x544524]
cmp byte [eax], 0
je 0x40e020
mov eax, dword [0x544200]
call fcn.00403060
call fcn.00402948
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.00409f50
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 0x40e068
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40e056
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x544180]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x545668]
call fcn.00405ec4
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 0x40e910
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 0x40e9e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404ac4
lea eax, [ebp - 8]
call fcn.00404f3c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404eec
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40e9d0
mov eax, ebx
call fcn.004027e0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40e9c9
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.00404eec
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40e9b3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40e9f8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40e9b3
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 0x40e9d0
mov eax, dword [ebp - 0x10]
call fcn.00402800
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e9ed
lea eax, [ebp - 8]
call fcn.00404a2c
ret

Function at 0x40f010
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 0x40f074
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.00404c9c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409680
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f07b
lea eax, [ebp - 0xc]
call fcn.00404a2c
ret

Function at 0x424bc0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x424c0d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004249b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x424c25
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x424c2c
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.004249b0
dec esi
jne 0x424c4e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x4263b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x54588c
cmp dword [edi], 0
jne 0x42642c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x545888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x54154c
mov ecx, 2
call fcn.004029dc
mov edx, 0x426388
lea eax, [esi + 5]
call fcn.004263a8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004263a8
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 0x426401
mov dword [0x545888], 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 0x427b28
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 0x427b2e
ret

Function at 0x42a230
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 0x42a281
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42a268
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42a258
jmp 0x42a281
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 0x42a269
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4364e4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404edc
xor eax, eax
push ebp
push 0x436612
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4365e5
xor eax, eax
push ebp
push 0x4365de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404cec
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4365b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4365a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404cec
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404eec
mov edx, ebx
pop ecx
call fcn.004029dc
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4365a9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x5440bc]
mov dl, 1
mov eax, dword [0x408150]
call fcn.0040e134
call fcn.004043e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436619
lea eax, [ebp - 4]
call fcn.00404a2c
ret