joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458410
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
xor edx, edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4585e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4585c1
mov dl, 1
mov eax, dword [0x416388]
call fcn.00403560
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004043a0
lea eax, [ebp - 0x118]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov ebx, eax
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
mov dword [ebp - 0x10], eax
dec ebx
test ebx, ebx
jl 0x4585b0
inc ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.00445db0
test al, al
jne 0x4584ad
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4585a3
xor edx, edx
push ebp
push 0x45859c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4584cd
mov ebx, dword [ebp - 0x10]
jmp 0x4584cf
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x25c], 0
lea ecx, [ebp - 0x260]
mov edx, 0x4585f0
lea eax, [ebp - 0x258]
call fcn.004096e8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x458585
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x458628
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x458585
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.00404610
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x458585
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.00404610
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4585a3
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x18], 4
dec dword [ebp - 0x14]
jne 0x45848e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ab70
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4585e7
lea eax, [ebp - 0x264]
call fcn.004043a0
ret
Function at 0x458f28
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x48bb54]
cmp byte [eax + 0xa5], 0
jne 0x458f99
cmp dword [0x48bb6c], 0
jne 0x458f5a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x458ee4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48bb6c], eax
cmp dword [0x48bb68], 0
jne 0x458f75
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48bb68], eax
cmp dword [0x48bb70], 0
jne 0x458f99
push esp
push 0
push 0
push 0x458e88
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x48bb70], eax
pop edx
ret

Function at 0x45962c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48bb54]
cmp dword [eax + 0x30], 0
je 0x4596d6
cmp dword [ebx + 0x94], 0
jne 0x4596d0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4595bc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4596d0
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 0x459696
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4596d0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004183f0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4596a5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45a234
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45a269
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404490
jmp 0x45a276
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004043f4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45b3a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45b3e1
mov eax, esi
call fcn.00441304
test al, al
je 0x45b3e1
mov eax, dword [ebx + 0x84]
call fcn.00441000
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45b3e1
push 0
mov eax, dword [ebx + 0x84]
call fcn.00441000
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45e56c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4152d4]
call fcn.00404d38
xor eax, eax
push ebp
push 0x45e6b0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x489dd4], 0
jne 0x45e5bf
mov ecx, dword [0x48a7d4]
mov dl, 1
mov eax, dword [0x407808]
call fcn.0040c25c
call fcn.00403d30
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402f94
mov eax, ebx
call fcn.00404be4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x45e6c0
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405e8c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404bf4
test eax, eax
jle 0x45e657
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x45e650
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404628
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404610
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408698
test eax, eax
jne 0x45e650
mov ebx, 0x15
jmp 0x45e65c
mov ebx, 0x10
jmp 0x45e65c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x489dd4]
call fcn.0045e3e4
mov eax, dword [ebp - 8]
call fcn.0045e3e4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405ea4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e6b7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004043c4
lea eax, [ebp - 0x10]
mov edx, dword [0x4152d4]
call fcn.00404e08
ret
Function at 0x47bb80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x47bb88
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x47bd7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x47bd90
mov eax, esi
call fcn.004799f8
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004043f4
lea ecx, [ebp - 0x10]
mov edx, 0x47bda4
mov eax, esi
call fcn.004799f8
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004043f4
lea ecx, [ebp - 0x14]
mov edx, 0x47bdbc
mov eax, esi
call fcn.004799f8
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004043f4
lea ecx, [ebp - 0x18]
mov edx, 0x47bdd8
mov eax, esi
call fcn.004799f8
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004043f4
lea ecx, [ebp - 0x1c]
mov edx, 0x47bdf4
mov eax, esi
call fcn.004799f8
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004043f4
lea ecx, [ebp - 0x24]
mov edx, 0x47be0c
mov eax, esi
call fcn.004799f8
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408708
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408afc
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x47be24
mov eax, esi
call fcn.004799f8
mov eax, dword [ebp - 0x28]
call fcn.0047349c
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x47be34
mov eax, esi
call fcn.004799f8
mov eax, dword [ebp - 0x2c]
call fcn.0047349c
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x47be4c
mov eax, esi
call fcn.004799f8
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408afc
inc eax
je 0x47bd1d
lea ecx, [ebp - 0x34]
mov edx, 0x47be4c
mov eax, esi
call fcn.004799f8
mov eax, dword [ebp - 0x34]
call fcn.00408ac0
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a094
fstp qword [ebp - 0x3c]
wait
call fcn.0040a404
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x47bd38
lea ecx, [ebp - 0x40]
mov edx, 0x47be4c
mov eax, esi
call fcn.004799f8
mov eax, dword [ebp - 0x40]
call fcn.0047349c
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x47be5c
mov eax, esi
call fcn.004799f8
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004043f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47bd81
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004043c4
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004043c4
ret
Function at 0x482b7c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x482bd6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00482b6c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00472108
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00471d08
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482bdd
lea eax, [ebp - 4]
call fcn.004043a0
ret
Function at 0x402adc
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.004040fc
test esi, esi
jne 0x402b12
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.004041ec
jmp 0x402b30
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029f0
mov edi, eax
test esi, esi
je 0x402b30
cmp dword [ebx], 0
je 0x402b30
dec esi
jmp 0x402b19
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403200
Capabilities:
Query or enumerate registry value

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

Function at 0x403f80
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ae04c], 0
je 0x403fe1
cmp word [0x4ae220], 0xd7b2
jne 0x403fa9
cmp dword [0x4ae228], 0
jbe 0x403fa9
mov eax, 0x4ae21c
call dword [0x4ae238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4ab06c
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 0x404008
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4ab030], 0
jne 0x403ffd
push 0
push 0x4ab064
push 0x4ab06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406064
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 0x4060ca
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.0040436c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402dc4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4060b4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4060d1
lea eax, [ebp - 0x10]
call fcn.004040fc
ret

Function at 0x40b5ac
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 0x40b5e5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004041ec
jmp 0x40b5ee
mov eax, ebx
mov edx, esi
call fcn.00404150
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40bca0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bb18
mov eax, dword [0x4ad260]
cmp byte [eax], 0
je 0x40bd1c
mov eax, dword [0x4acfe8]
call fcn.00402bf4
call fcn.0040291c
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.00408c60
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 0x40bd64
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bd52
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4acf80]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4ae668]
call fcn.0040555c
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 0x40c60c
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 0x40c6e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404194
lea eax, [ebp - 8]
call fcn.0040460c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004045bc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c6cc
mov eax, ebx
call fcn.004027b4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c6c5
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.004045bc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c6af
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c6f4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c6af
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 0x40c6cc
mov eax, dword [ebp - 0x10]
call fcn.004027d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6e9
lea eax, [ebp - 8]
call fcn.004040fc
ret

Function at 0x40cbf4
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 0x40cc58
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.0040436c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004086f8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cc5f
lea eax, [ebp - 0xc]
call fcn.004040fc
ret

Function at 0x421c08
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4ae888
cmp dword [edi], 0
jne 0x421c84
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4ae884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4ab588
mov ecx, 2
call fcn.004029b0
mov edx, 0x421be0
lea eax, [esi + 5]
call fcn.00421c00
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00421c00
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 0x421c59
mov dword [0x4ae884], 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 0x4232c8
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 0x4232ce
ret
Function at 0x4258c4
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 0x425915
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4258fc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4258ec
jmp 0x425915
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 0x4258fd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f1d0
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.004045ac
xor eax, eax
push ebp
push 0x42f2fe
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42f2d1
xor eax, eax
push ebp
push 0x42f2ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004043bc
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42f29f
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 0x42f28e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004043bc
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004045bc
mov edx, ebx
pop ecx
call fcn.004029b0
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 0x42f295
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4acf00]
mov dl, 1
mov eax, dword [0x407540]
call fcn.0040be30
call fcn.00403b1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f305
lea eax, [ebp - 4]
call fcn.004040fc
ret
Function at 0x42f30c
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 0x42f4bd
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004047ac
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42f4d4
call fcn.00404408
mov eax, ebx
call fcn.0042119c
mov edi, eax
dec edi
test edi, edi
jl 0x42f3c4
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00421170
mov edx, dword [0x43bf44]
call fcn.0040351c
test al, al
je 0x42f3c0
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00421170
lea edx, [ebp - 0x14]
call fcn.004473dc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004047ac
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040447c
inc esi
dec edi
jne 0x42f372
mov al, byte [0x42f4d8]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42f4e4
mov eax, dword [ebp - 0xc]
call fcn.0040d1cc
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404194
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.004473dc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42f4d4
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.004473dc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42f4d4
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, 0x42f4d4
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, 0x42f4f0
call fcn.0040933c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f4c4
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404120
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404120
lea eax, [ebp - 0x14]
call fcn.004040fc
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404120
ret