joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44abf0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7bf9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x630490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0
call fcn.0040a1f0
xor eax, eax
mov dword [ebp - 4], 0
cmp byte [esi + 0x4e], al
push 4
setne al
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 1
push 6
push dword [esi + 0x30]
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0
push 0x604036
lea ecx, [edi + 4]
mov byte [edi], 1
call fcn.00404be0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00577543
mov esp, ebp
pop ebp
ret 4
Function at 0x44eff0
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp byte [ecx + 0x2d], 0
jne 0x44f005
cmp byte [ecx + 0x2c], 0
je 0x44f005
mov byte [ecx + 0x2c], 0
jmp fcn.0044f010
ret
Function at 0x44f010
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b9456
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x630490]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x630490]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x2d], 0
jne 0x44f255
cmp byte [esi + 0x2c], 0
jne 0x44f255
lea eax, [esi + 0x34]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov dword [esp + 0x4c], 0x10
mov word [esp + 0x52], ax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x54]
push eax
push 0
push dword [esi + 0x7c]
push dword [esi + 0x80]
push dword [esi + 0x28]
call dword [sym.imp.WS2_32.dll_recvfrom]
push dword [esp + 0x54]
mov edi, eax
call dword [sym.imp.WS2_32.dll_ntohl]
push dword [esp + 0x52]
mov ebx, eax
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
mov dword [esp + 0x14], eax
test edi, edi
js 0x44f0db
push eax
mov eax, dword [esi + 4]
push ebx
push edi
push dword [esi + 0x80]
push esi
call eax
add esp, 0x14
jmp 0x44f24b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2746
jne 0x44f18f
lea ecx, [esp + 0x60]
call fcn.00405f20
mov dword [esp + 0xb8], 0
lea ecx, [esp + 0x34]
mov edx, edi
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], edi
mov byte [esp + 0x68], 0
call fcn.004057c0
push eax
mov edx, str.recvfrom_error:
mov byte [esp + 0xbc], 1
lea ecx, [esp + 0x20]
call fcn.00405a50
add esp, 4
lea ecx, [esp + 0x6c]
push eax
call fcn.00409850
lea ecx, [esp + 0x1c]
call fcn.00404540
lea ecx, [esp + 0x34]
mov byte [esp + 0xb8], 0
call fcn.00404540
cmp byte [esi + 0x2d], 0
jne 0x44f186
cmp dword [esi + 8], 0
je 0x44f186
push dword [esp + 0x14]
lea eax, [esp + 0x64]
push ebx
sub esp, 0x24
mov ecx, esp
push eax
call fcn.004066c0
mov eax, dword [esi + 8]
push esi
call eax
add esp, 0x30
lea ecx, [esp + 0x60]
jmp 0x44f246
cmp edi, 0x2733
je 0x44f24b
lea ecx, [esp + 0x84]
call fcn.00405f20
mov dword [esp + 0xb8], 2
lea ecx, [esp + 0x1c]
mov edx, edi
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], edi
mov byte [esp + 0x8c], 1
call fcn.004057c0
push eax
mov edx, 0x606228
mov byte [esp + 0xbc], 3
lea ecx, [esp + 0x38]
call fcn.00405a50
add esp, 4
lea ecx, [esp + 0x90]
push eax
call fcn.00409850
lea ecx, [esp + 0x34]
call fcn.00404540
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb8], 2
call fcn.00404540
cmp byte [esi + 0x2d], 0
jne 0x44f23f
cmp dword [esi + 0xc], 0
je 0x44f23f
sub esp, 0x24
lea eax, [esp + 0xa8]
mov ecx, esp
push eax
call fcn.004066c0
mov eax, dword [esi + 0xc]
push esi
call eax
add esp, 0x28
lea ecx, [esp + 0x84]
call fcn.00406690
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00577543
mov esp, ebp
pop ebp
ret
Function at 0x44f280
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b94a0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x630490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x2d], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x48], ebx
jne 0x44f473
lea eax, [edi + 0x4c]
push eax
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 0x14]
mov eax, 2
mov word [ebp - 0x44], ax
call dword [sym.imp.WS2_32.dll_htons]
push dword [ebp + 0x10]
mov word [ebp - 0x42], ax
call dword [sym.imp.WS2_32.dll_htonl]
push 0x10
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x44]
push eax
push 0
push dword [ebp + 0xc]
push ebx
push dword [edi + 0x28]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x44f46a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2733
jne 0x44f362
xor esi, esi
jmp 0x44f320
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x10
lea eax, [ebp - 0x44]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x48]
push dword [edi + 0x28]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x44f46a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2733
jne 0x44f362
inc esi
cmp esi, 0xa
jl 0x44f320
jmp 0x44f46a
push 0
push 0x6016e5
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00404be0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x7c]
mov edx, ebx
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x2c], 1
call fcn.004057c0
push eax
mov edx, str.sendto_error:
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00405a50
mov esi, eax
add esp, 4
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x44f3fe
cmp dword [ebp - 0x14], 0x10
jb 0x44f3e3
push dword [ebp - 0x28]
call fcn.0044f658
add esp, 4
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004045a0
cmp dword [ebp - 0x50], 0x10
jb 0x44f40f
push dword [ebp - 0x64]
call fcn.0044f658
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x68], 0x10
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
jb 0x44f436
push dword [ebp - 0x7c]
call fcn.0044f658
add esp, 4
cmp byte [edi + 0x2d], 0
jne 0x44f459
cmp dword [edi + 0xc], 0
je 0x44f459
sub esp, 0x24
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.004066c0
mov eax, dword [edi + 0xc]
push edi
call eax
add esp, 0x28
cmp dword [ebp - 0x14], 0x10
jb 0x44f46a
push dword [ebp - 0x28]
call fcn.0044f658
add esp, 4
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00577543
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45ec19
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x45ec5e
call fcn.004695a8
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45ec5e
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x45ec7a
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00469741
mov ebx, eax
test edi, edi
je 0x45ec78
test esi, esi
je 0x45ec78
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x46503c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.004695a8
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x465073
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00465094
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4dfb23
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.004689ff
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4dfb5f
call fcn.004dfd42
mov dword [esi + 0xc], 1
jmp 0x4dfb64
call fcn.004dfd42
cmp dword [esi], 0
je 0x4dfbad
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4dfb87
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0045ecee
jmp 0x4dfb98
push 0xff
mov ecx, esi
call fcn.0040ceb0
push pe_nt_image_headers32
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0045cbb4
jmp 0x4dfbd1
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4dfbd1
push dword [esi]
push dword [ebp - 4]
call fcn.0046c114
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4dfc97
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004dfd42
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4dfcdf
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0045ecee
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0045cbb4
jmp 0x4dfcea
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0046c114
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x5424f7
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00573138
call fcn.004695fc
cmp dword [eax + 0x14], 0
jne 0x542512
mov ecx, esi
pop esi
jmp fcn.005418fd
pop esi
ret

Function at 0x54ecad
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.004057b0
call fcn.004695fc
cmp dword [eax + 0x14], 0
jne 0x54ecc8
mov ecx, esi
pop esi
jmp fcn.0054e596
pop esi
ret
Function at 0x58f755
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x630490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00581d0e
mov dword [ebp - 0x14], eax
cmp dword [0x63dc28], esi
jne 0x58f848
push 0x800
push esi
push 0x5f9f30
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x58f7d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x58f928
push esi
push esi
push 0x5f9f30
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x58f928
push 0x5f9f48
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x58f928
push eax
call ebx
push 0x5f9f54
push edi
mov dword [0x63dc28], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5f9f64
push edi
mov dword [0x63dc2c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x63dc30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x63dc38], eax
test eax, eax
je 0x58f845
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x63dc34], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x58f86d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x58f860
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x58f882
push 4
pop eax
jmp 0x58f92a
cmp dword [ebp - 0x14], esi
je 0x58f882
push dword [0x63dc28]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x58f867
mov eax, dword [0x63dc34]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x58f8e0
cmp dword [0x63dc38], edi
je 0x58f8e0
push eax
call ebx
push dword [0x63dc38]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x58f8e0
test eax, eax
je 0x58f8e0
call ecx
test eax, eax
je 0x58f8d5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x58f8d5
test byte [ebp - 8], 1
jne 0x58f8e0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x58f910
mov eax, dword [0x63dc2c]
cmp eax, edi
je 0x58f90d
push eax
call ebx
test eax, eax
je 0x58f90d
call eax
mov esi, eax
test esi, esi
je 0x58f90d
mov eax, dword [0x63dc30]
cmp eax, edi
je 0x58f90d
push eax
call ebx
test eax, eax
je 0x58f90d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x63dc28]
call ebx
test eax, eax
je 0x58f928
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x58f92a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00577543
mov esp, ebp
pop ebp
ret
Function at 0x59f632
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x4030b4
Capabilities:
Query or enumerate registry value

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

Function at 0x403f1c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4af04c], 0
je 0x403f7d
cmp word [0x4af220], 0xd7b2
jne 0x403f45
cmp dword [0x4af228], 0
jbe 0x403f45
mov eax, 0x4af21c
call dword [0x4af238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4ad06c
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 0x403fa4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4ad030], 0
jne 0x403f99
push 0
push 0x4ad064
push 0x4ad06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406020
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 0x406086
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.00404308
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c78
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406070
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40608d
lea eax, [ebp - 0x10]
call fcn.00404098
ret

Function at 0x40b774
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 0x40b7ad
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404188
jmp 0x40b7b6
mov eax, ebx
mov edx, esi
call fcn.004040ec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40be68
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bce0
mov eax, dword [0x4ae98c]
cmp byte [eax], 0
je 0x40bee4
mov eax, dword [0x4ae680]
call fcn.00402aa8
call fcn.004028e4
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.00408bbc
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 0x40bf2c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bf1a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4ae614]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4af668]
call fcn.00405518
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 0x40c7c8
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 0x40c89e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404130
lea eax, [ebp - 8]
call fcn.004045a8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404558
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c888
mov eax, ebx
call fcn.0040277c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c881
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.00404558
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c86b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c8b0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c86b
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 0x40c888
mov eax, dword [ebp - 0x10]
call fcn.0040279c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c8a5
lea eax, [ebp - 8]
call fcn.00404098
ret

Function at 0x40cdb0
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 0x40ce14
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.00404308
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408654
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ce1b
lea eax, [ebp - 0xc]
call fcn.00404098
ret

Function at 0x424b7c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4af888
cmp dword [edi], 0
jne 0x424bf8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4af884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4ad5b0
mov ecx, 2
call fcn.00402978
mov edx, 0x424b54
lea eax, [esi + 5]
call fcn.00424b74
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00424b74
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 0x424bcd
mov dword [0x4af884], 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 0x42622c
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 0x426232
ret
Function at 0x42888c
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 0x4288dd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4288c4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4288b4
jmp 0x4288dd
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 0x4288c5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4325a0
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.00404548
xor eax, eax
push ebp
push 0x4326ce
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4326a1
xor eax, eax
push ebp
push 0x43269a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404358
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43266f
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 0x43265e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404358
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404558
mov edx, ebx
pop ecx
call fcn.00402978
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 0x432665
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4ae574]
mov dl, 1
mov eax, dword [0x407514]
call fcn.0040bfec
call fcn.00403ad4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4326d5
lea eax, [ebp - 4]
call fcn.00404098
ret