joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb4a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00b4a1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xb4a07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb4a06a
add dl, dl
jne 0xb4a089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb4a0dc
xor eax, eax
add dl, dl
jne 0xb4a096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb4a17d
add dl, dl
jne 0xb4a0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb4a0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb4a0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb4a0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb4a0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb4a075
mov eax, 1
add dl, dl
jne 0xb4a0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb4a0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb4a0e1
sub eax, ebx
mov ebx, 1
jne 0xb4a128
mov ecx, 1
add dl, dl
jne 0xb4a10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb4a119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb4a105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb4a075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb4a13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb4a14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb4a136
cmp eax, 0x7d00
jae 0xb4a16d
cmp eax, 0x500
jb 0xb4a168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb4a075
cmp eax, 0x7f
ja 0xb4a170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb4a075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb4a19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xb4a075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402ef0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
push ebx
movzx eax, byte [ebp - 0x2d]
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x1b8]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 0x15], 0xd9
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x258]
lea ecx, [eax + edx - 0x7b]
mov word [ebp - 0x250], cx
mov dword [ebp - 0x13c], 0x2c
movzx edx, byte [ebp - 0x10a]
add edx, dword [ebp + 0x18]
sub edx, dword [ebp - 0xb4]
mov dword [ebp - 0x1a0], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.00404370
and eax, 0x1c
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 0xc]
or eax, edx
mov word [ebp - 0xe0], ax
movzx eax, word [ebp - 0xe4]
sub eax, 0x8a
sub eax, dword [ebp + 0x1c]
mov word [ebp - 0x1a4], ax
movzx ecx, word [ebp - 0x190]
mov dword [0x42405c], ecx
mov ebx, dword [ebp - 0xdc]
add ebx, 0x25
mov edx, dword [ebp - 0x1c0]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub ebx, eax
mov eax, dword [ebp - 0x9c]
add eax, 0x22
and ebx, eax
mov byte [ebp - 0x261], bl
movzx ecx, word [ebp - 0x250]
movzx edx, word [ebp - 0xf8]
sub ecx, edx
movzx eax, word [ebp - 0x23c]
sub ecx, eax
movzx edx, byte [ebp - 0x261]
sub edx, ecx
mov byte [ebp - 0x261], dl
mov eax, dword [ebp + 0x10]
xor eax, 0xffffffe3
mov byte [ebp - 0x2a], al
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1b8], ecx
mov edx, dword [ebp + 0x18]
add edx, 0x53
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0x1c0]
sub eax, dword [ebp + 0x10]
movzx ecx, word [ebp - 0xe0]
or eax, ecx
or eax, 0x63
mov word [ebp - 0x24], ax
movzx edx, word [ebp - 0x28]
add edx, 0x7a
mov word [ebp - 0xe4], dx
movzx eax, word [ebp - 0x28]
add eax, 0x47
sub eax, dword [ebp - 0x1b8]
xor eax, dword [ebp + 0x18]
or eax, 0x52
mov byte [ebp - 6], al
movzx ecx, byte [ebp - 0x2a]
mov dword [ebp - 0x1c0], ecx
movzx edx, byte [ebp - 0x10a]
add edx, 0x1a
sub edx, dword [ebp - 0x1c0]
add edx, 0x63
mov word [ebp - 0x24], dx
mov eax, dword [0x42405c]
imul eax, eax, 0xe
mov dword [0x42405c], eax
mov ecx, 0x4f
mov word [ebp - 0x110], cx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x14], 0x3cb
mov eax, dword [ebp - 0x1c0]
sub eax, dword [ebp - 0x1b8]
mov dword [ebp - 0xc], eax
movzx ecx, word [ebp - 0x240]
mov edx, 0x3c
sub edx, ecx
add edx, 6
movzx eax, word [ebp - 0xbc]
sub eax, edx
mov word [ebp - 0xbc], ax
mov eax, dword [ebp - 0x1b8]
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x404290
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
movzx eax, word [ebp - 0x248]
mov ecx, 7
sub ecx, eax
mov dword [str._Z_], ecx
mov edx, dword [ebp - 0x1b4]
add edx, 0xd
and edx, 0x5f
xor edx, dword [ebp - 0x250]
mov word [ebp - 0x120], dx
movzx eax, byte [ebp - 0x21]
or eax, 0x4b
mov dword [ebp + 0x14], eax
mov dword [ebp - 0x270], 0x21
movzx ecx, word [ebp - 0x130]
and ecx, dword [ebp - 0x270]
mov dword [ebp + 8], ecx
mov dword [ebp - 0x1f8], 0x63
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DrawCaption]
movzx eax, byte [esp - 0x1b]
mov dword [0x44d7a8], eax
movzx edx, byte [ebp - 0x269]
add edx, dword [ebp - 0xd8]
or edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
mov dword [ebp - 0x10c], 0x360
push 0x1b
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x24
sub ecx, eax
and ecx, 0x58
mov word [ebp - 0x130], cx
mov edx, dword [ebp - 0x1b4]
add edx, 0x4d
mov dword [ebp - 0x270], edx
movzx eax, word [ebp - 0x114]
movzx ecx, byte [ebp - 0xf1]
add ecx, eax
mov byte [ebp - 0xf1], cl
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x419804
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42ffc0]
jne 0x41980e
repz ret
jmp fcn.0041e276

Function at 0x41a173
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004178af
and dword [ebp - 4], 0
cmp dword [0x44de6c], 0
mov ebx, eax
jne 0x41a224
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41a2d5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41a2d5
push eax
call fcn.0041783d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44de6c], eax
call esi
push eax
call fcn.0041783d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44de70], eax
call esi
push eax
call fcn.0041783d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44de74], eax
call esi
push eax
call fcn.0041783d
pop ecx
mov dword [0x44de7c], eax
test eax, eax
je 0x41a224
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041783d
pop ecx
mov dword [0x44de78], eax
mov eax, dword [0x44de78]
cmp eax, ebx
je 0x41a27c
cmp dword [0x44de7c], ebx
je 0x41a27c
push eax
call fcn.004178b8
push dword [0x44de7c]
mov esi, eax
call fcn.004178b8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41a27c
test edi, edi
je 0x41a27c
call esi
test eax, eax
je 0x41a273
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41a273
test byte [ebp - 0xc], 1
jne 0x41a27c
or dword [ebp + 0x10], 0x200000
jmp 0x41a2b5
mov eax, dword [0x44de70]
cmp eax, ebx
je 0x41a2b5
push eax
call fcn.004178b8
pop ecx
test eax, eax
je 0x41a2b5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41a2b5
mov eax, dword [0x44de74]
cmp eax, ebx
je 0x41a2b5
push eax
call fcn.004178b8
pop ecx
test eax, eax
je 0x41a2b5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44de6c]
call fcn.004178b8
pop ecx
test eax, eax
je 0x41a2d5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41a2d7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1007ad5f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp cl, dl
bsr eax, edi
das
sub al, ah
push ebp
lahf
mov ebp, esp
cwde
sub esp, 0x18
setl ah
sub ah, dl
push esi
pushfd
stc
mov dword [esp], edi
btr ax, 8
cmp cl, 0x3f
sal ah, cl
push ebx
or ah, 0xcb
sub al, dl
sal al, 6
movzx eax, cl
push edx
lahf
mov eax, 0xea809a86
mov eax, dword [ebp + 8]
push 0x8bf0ed00
cmp dh, 0x93
pushfd
cmp dl, al
test eax, eax
pushal
lea esp, [esp + 0x28]
je 0x10086ca7
not si
setns dh
xchg si, dx
mov esi, dword [eax + 0x3c]
btr dx, 2
neg dx
lea edx, [ecx + 0xbded135]
movzx dx, dl
add esi, eax
cmc
cmp dx, 0x617
ror dh, 2
stc
mov edx, dword [esi + 0x78]
cmc
test edx, edx
pushfd
lea esp, [esp + 4]
je 0x10086ca7
jmp 0x100d92aa
mov cl, 0x6f
add edx, eax
bt cx, ax
pushfd
bswap cx
jmp 0x10078554

Function at 0x100d9bed
Capabilities:
Encode data using xor

Disassembly:
stc
or ecx, ecx
pushal
jmp 0x100d7612
lea esp, [esp + 0x20]
je 0x100d3a5e
sal al, 1
lea ecx, [ebx - 0x1bd9dd46]
xor ebx, ebx
ror ecx, cl
mov dword [ebp - 4], ebx
shr eax, cl
rol ch, cl
lahf
mov eax, edx
rcl ch, 4
shr eax, 0x10
lea esp, [esp + 0xc]
je 0x100d3a5e
jmp 0x100d305d
Function at 0x402d44
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 0x402d81
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 0x402da1
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.004048ac
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402f80
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040463c
test esi, esi
jne 0x402fb7
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.0040472c
jmp 0x402fd8
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402e1c
mov dword [esp], eax
test esi, esi
je 0x402fd8
cmp dword [ebx], 0
je 0x402fd8
dec esi
jmp 0x402fbf
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403678
Capabilities:
Query or enumerate registry value

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

Function at 0x404414
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ca04c], 0
je 0x404475
cmp word [0x4ca220], 0xd7b2
jne 0x40443d
cmp dword [0x4ca228], 0
jbe 0x40443d
mov eax, 0x4ca21c
call dword [0x4ca238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4c706c
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 0x40449c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4c7030], 0
jne 0x404491
push 0
push 0x4c7064
push 0x4c706c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4045f0
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.00402b30
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4ca04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4045b8
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406688
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 0x4066ee
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.004048ac
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403230
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4066d8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4066f5
lea eax, [ebp - 0x10]
call fcn.0040463c
ret

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

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

Function at 0x40be28
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 0x40be61
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040472c
jmp 0x40be6a
mov eax, ebx
mov edx, esi
call fcn.00404690
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c52c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c394
mov eax, dword [0x4c986c]
cmp byte [eax], 0
je 0x40c5a8
mov eax, dword [0x4c957c]
call fcn.0040309c
call fcn.00402cd0
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.004094fc
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 0x40c5f0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c5de
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4c9504]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4ca668]
call fcn.00405ad8
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 0x40cea0
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 0x40cf76
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004046d4
lea eax, [ebp - 8]
call fcn.00404b4c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404afc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cf60
mov eax, ebx
call fcn.00402b30
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cf59
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.00404afc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cf43
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cf88
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cf43
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 0x40cf60
mov eax, dword [ebp - 0x10]
call fcn.00402b60
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cf7d
lea eax, [ebp - 8]
call fcn.0040463c
ret

Function at 0x40d5d4
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 0x40d638
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.004048ac
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408e34
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d63f
lea eax, [ebp - 0xc]
call fcn.0040463c
ret

Function at 0x42024c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4ca888
cmp dword [edi], 0
jne 0x4202c8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4ca884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4c73fc
mov ecx, 2
call fcn.00402ddc
mov edx, 0x420224
lea eax, [esi + 5]
call fcn.00420244
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00420244
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 0x42029d
mov dword [0x4ca884], 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 0x421954
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 0x42195a
ret
Function at 0x4241f4
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 0x424245
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42422c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42421c
jmp 0x424245
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 0x42422d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d980
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.00404aec
xor eax, eax
push ebp
push 0x42daae
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42da81
xor eax, eax
push ebp
push 0x42da7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004048fc
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42da4f
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 0x42da3e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004048fc
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404afc
mov edx, ebx
pop ecx
call fcn.00402ddc
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 0x42da45
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4c9464]
mov dl, 1
mov eax, dword [0x407c00]
call fcn.0040c6bc
call fcn.00403fac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42dab5
lea eax, [ebp - 4]
call fcn.0040463c
ret
Function at 0x42dabc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42dc6d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404cec
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42dc84
call fcn.00404948
mov eax, ebx
call fcn.0041f7e0
mov edi, eax
dec edi
test edi, edi
jl 0x42db74
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041f7b4
mov edx, dword [0x43b4cc]
call fcn.004039a4
test al, al
je 0x42db70
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041f7b4
lea edx, [ebp - 0x14]
call fcn.004477f4
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404cec
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004049bc
inc esi
dec edi
jne 0x42db22
mov al, byte [0x42dc88]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42dc94
mov eax, dword [ebp - 0xc]
call fcn.0040dbb0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004046d4
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.004477f4
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42dc84
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.004477f4
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42dc84
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x42dc84
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x42dca0
call fcn.00409c1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42dc74
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404660
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404660
lea eax, [ebp - 0x14]
call fcn.0040463c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404660
ret

Function at 0x441bb8
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 0x441b04
call sub.user32.dll_EnumWindows
ret