joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005980
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.1000e660
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100059f4
push 0x39
push 0x4012ab7
push 6
call fcn.1000d2ff
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10005a6a
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.1000e660
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10005a67
push 0xda
push 0x4012ab7
push 6
call fcn.1000d2ff
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x10005a72
mov esp, ebp
pop ebp
ret 8

Function at 0x1000cd4e
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push dword [ebp + 8]
call fcn.1000ceaf
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0x40
push 0x1000
push dword [ebp - 4]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000cdab
push 0x4d
push 0x403df2e
push 6
call fcn.1000d2ff
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x1000cdbd
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_SetHandleCount]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000cde4
push 0x9c
push 0x403df2e
push 6
call fcn.1000d2ff
add esp, 0xc
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push dword [ebp - 0x10]
push dword [ebp - 8]
call fcn.1000cf25
mov eax, dword [ebp - 8]
jmp 0x1000cdfd
mov esp, ebp
pop ebp
ret 4
Function at 0x1000dff0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
lea ecx, [esp + 0x18]
call fcn.1000f4f0
lea eax, [esp + 0x10]
mov dword [esp + 0x18], 0x10022480
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x1000e0b2
mov ecx, dword [esp + 0x10]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0xc], eax
jle 0x1000e0ab
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ebx, [edi + 4]
mov ecx, dword [ebx]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
push 0
push 0x3a8
call ebp
mov esi, eax
test esi, esi
jle 0x1000e096
lea edx, [esi + 1]
push edx
call fcn.1000d600
mov edi, eax
add esp, 4
test edi, edi
je 0x1000e088
mov eax, dword [ebx]
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push eax
push 0
push 0x3a8
call ebp
mov byte [eax + edi], 0
push edi
lea ecx, [esp + 0x20]
call fcn.1000f780
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x1000e042
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [esp + 0x34]
mov eax, dword [ebx]
test eax, eax
je 0x1000e0c5
push eax
call fcn.1000f940
add esp, 4
mov edi, dword [esp + 0x28]
shr edi, 2
shl edi, 2
lea ecx, [edi + 8]
push ecx
call fcn.1000d600
mov dword [eax], 1
mov edx, dword [esp + 0x2c]
shr edx, 2
mov dword [eax + 4], edx
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
add esp, 4
neg esi
sbb esi, esi
and esi, ecx
mov ecx, edi
mov edx, ecx
lea edi, [eax + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
mov dword [ebx], eax
mov dword [esp + 0x18], 0x1002247c
call fcn.1000f6f0
pop edi
pop esi
pop ebx
add esp, 0x20
ret

Function at 0x1000e590
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x1000e5ae
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x1000e5a3
pop esi
ret
Function at 0x10001042
Capabilities:
Allocate thread local storage

Disassembly:
push 0
push 0x1000
push 0
call sub.KERNEL32.dll_HeapCreate
mov dword [0x10041ec8], eax
mov eax, 0x10040074
mov dword [0x10041f0c], eax
call fcn.10031455
call fcn.10037cb0
call fcn.10037780
call fcn.100373a5
call fcn.10036b99
call fcn.10036758
call fcn.10036193
call fcn.10035e1e
call fcn.100352a0
call fcn.100333dc
call fcn.10032c80
call fcn.100324b6
call fcn.100323b6
call fcn.100322f2
call fcn.10032281
call fcn.10032198
call fcn.10031d4e
call fcn.10031c8a
push 0x10041fd8
push 0
push 0x18
push 0x13
push 1
call fcn.100373ce
push 0x10041fe0
push 0
push 3
push 0x1d
push 2
call fcn.100373ce
push 0x10041fe8
push 0
push 0x19
push 0x20
push 2
call fcn.100373ce
push 0x10041ff0
push 0
push 1
push 0x1d
push 1
call fcn.100373ce
push 0x10041ff8
push 0
push 1
push 0x20
push 1
call fcn.100373ce
push 0x10042000
push 0
push 5
push 0x120
push 4
call fcn.100373ce
push 0x10042008
push 0
push 5
push 0x20
push 4
call fcn.100373ce
push 0x10042010
push 0
push 5
push 0x11
push 4
call fcn.100373ce
push 0x10042018
push 0
push 0x19
push 0x11
push 2
call fcn.100373ce
push 0x10042020
push 0
push 0x18
push 1
push 1
call fcn.100373ce
push 0x10042028
push 0
push 5
push 1
push 4
call fcn.100373ce
push 0x10042030
push 0
push 5
push 1
push 4
call fcn.100373ce
push 0x10042038
push 0
push 5
push 1
push 4
call fcn.100373ce
push 0x10042040
push 0
push 5
push 1
push 4
call fcn.100373ce
push 0x10042048
push 0
push 0x18
push 1
push 1
call fcn.100373ce
push 0x10042050
push 0
push 5
push 1
push 4
call fcn.100373ce
push 0x10042058
push 0
push 5
push 1
push 4
call fcn.100373ce
push 0x10042060
push 0
push 5
push 1
push 4
call fcn.100373ce
push 0x10042068
push 0
push 5
push 1
push 4
call fcn.100373ce
push 0x10042070
push 0
push 0x18
push 1
push 1
call fcn.100373ce
ret
Function at 0x10036b99
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push 0x10036ae8
push 0x10
push 0x2c
call fcn.10036d45
push 0
push 0
push 8
mov dword [0x10042228], eax
call fcn.10036c8d
cmp word [0x10042220], 0
mov dword [0x10043bd0], eax
jne 0x10036c7e
push edi
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor edi, edi
inc edi
test eax, eax
jne 0x10036bf1
mov word [0x10042220], di
jmp 0x10036bf9
xor eax, eax
mov word [0x10042220], ax
push str.ws2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x1004223c], eax
test eax, eax
je 0x10036c7d
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getaddrinfo
push eax
call esi
push str.freeaddrinfo
push dword [0x1004223c]
mov dword [0x1004222c], eax
call esi
push str.getnameinfo
push dword [0x1004223c]
mov dword [0x10042230], eax
call esi
push str.WSAStringToAddressA
push dword [0x1004223c]
mov dword [0x10042234], eax
call esi
cmp dword [0x1004222c], 0
mov dword [0x10042238], eax
pop esi
je 0x10036c7d
cmp dword [0x10042230], 0
je 0x10036c7d
cmp dword [0x10042234], 0
je 0x10036c7d
test eax, eax
je 0x10036c7d
mov dword [0x10042224], edi
pop edi
add esp, 0x190
ret
Function at 0x1003a4c0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x50c
push ebx
push edi
imul edi, dword [esp + 0x518], 0x2c
xor ebx, ebx
mov eax, dword [edi + 0x100422cc]
dec eax
cmp eax, 5
ja case.default.0x1003a4e2
jmp dword [eax*4 + 0x1003a640]
cmp dword [esp + 0x51c], ebx
je 0x1003a595
push 1
push dword [edi + 0x100422c8]
call dword [sym.imp.WS2_32.dll_shutdown]
test eax, eax
jne 0x1003a595
mov ebx, dword [sym.imp.WS2_32.dll_recv]
xor ecx, ecx
push ebp
push esi
mov esi, dword [edi + 0x100422c8]
mov dword [esp + 0x18], ecx
lea ebp, [esi + 1]
xor eax, eax
test ecx, ecx
je 0x1003a53b
lea esp, [esp]
cmp dword [esp + eax*4 + 0x1c], esi
je 0x1003a53b
inc eax
cmp eax, ecx
jb 0x1003a530
cmp eax, ecx
jne 0x1003a54c
cmp ecx, 0x40
jae 0x1003a54c
mov dword [esp + eax*4 + 0x1c], esi
inc dword [esp + 0x18]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 2
push eax
push 0
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0
push eax
push ebp
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x1003a591
push 0
push 0x400
lea eax, [esp + 0x124]
push eax
push esi
call ebx
test eax, eax
jle 0x1003a591
mov ecx, dword [esp + 0x18]
jmp 0x1003a523
pop esi
xor ebx, ebx
pop ebp
push dword [edi + 0x100422c8]
call dword [sym.imp.WS2_32.dll_closesocket]
jmp case.0x1003a4e2.1
or ebx, 0xffffffff
push 0x100438c8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x100422cc]
test eax, eax
je 0x1003a627
dec eax
cmp eax, 1
ja 0x1003a5da
push dword [edi + 0x100422d0]
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [edi + 0x100422d0], 0
mov ecx, dword [edi + 0x100422ec]
mov dword [edi + 0x100422cc], 0
mov dword [edi + 0x100422d0], 0
mov dword [edi + 0x100422d4], 0
mov dword [edi + 0x100422e8], 0
mov dword [edi + 0x100422e4], 0
test ecx, ecx
je 0x1003a627
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x100422ec], 0
push 0x100438c8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, ebx
pop ebx
add esp, 0x50c
ret

Function at 0x1003a920
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp esi, 0xffffffff
jne 0x1003a92e
xor eax, eax
pop esi
ret
mov eax, dword [0x100422c4]
push edi
sub eax, 3
je 0x1003a96f
sub eax, 2
je 0x1003a946
push 0x6a
call dword [sym.imp.MSVCRT.dll_exit]
imul edi, esi, 0x2c
push dword [edi + 0x100422c8]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
je 0x1003a969
push dword [edi + 0x100422c8]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
test eax, eax
jne 0x1003a96f
pop edi
or eax, 0xffffffff
pop esi
ret
push dword [esp + 0x10]
push esi
call fcn.1003a4c0
add esp, 8
xor eax, eax
pop edi
pop esi
ret
Function at 0x1003ad30
Capabilities:
Read file on windows
Receive data
Receive data on socket

Disassembly:
push ecx
push esi
or esi, 0xffffffff
cmp byte [0x100422c1], 0
je 0x1003ad43
or eax, esi
pop esi
pop ecx
ret
push edi
imul edi, dword [esp + 0x10], 0x2c
mov eax, dword [edi + 0x100422cc]
dec eax
cmp eax, 5
ja case.default.0x1003ad55
jmp dword [eax*4 + 0x1003adc8]
push 0
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [edi + 0x100422c8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1003ad85
mov esi, dword [esp + 8]
mov eax, esi
pop edi
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x100422d4], eax
mov eax, esi
pop edi
pop esi
pop ecx
ret
push 0
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [edi + 0x100422c8]
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
cmp esi, 0xffffffff
jne case.default.0x1003ad55
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
or esi, esi
mov dword [edi + 0x100422d4], eax
pop edi
mov eax, esi
pop esi
pop ecx
ret

Function at 0x1003adf0
Capabilities:
Send data
Send data on socket
Write file on windows

Disassembly:
push ecx
push esi
or esi, 0xffffffff
cmp byte [0x100422c1], 0
je 0x1003ae03
or eax, esi
pop esi
pop ecx
ret
push edi
imul edi, dword [esp + 0x10], 0x2c
mov eax, dword [edi + 0x100422cc]
dec eax
cmp eax, 5
ja case.default.0x1003ae15
jmp dword [eax*4 + 0x1003ae88]
push 0
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [edi + 0x100422c8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1003ae45
mov esi, dword [esp + 8]
mov eax, esi
pop edi
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x100422d4], eax
mov eax, esi
pop edi
pop esi
pop ecx
ret
push 0
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [edi + 0x100422c8]
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
cmp esi, 0xffffffff
jne case.default.0x1003ae15
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
or esi, esi
mov dword [edi + 0x100422d4], eax
pop edi
mov eax, esi
pop esi
pop ecx
ret
Function at 0x402e24
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040449c
test esi, esi
jne 0x402e5b
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.0040458c
jmp 0x402e7c
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402cc0
mov dword [esp], eax
test esi, esi
je 0x402e7c
cmp dword [ebx], 0
je 0x402e7c
dec esi
jmp 0x402e63
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x40353c
Capabilities:
Query or enumerate registry value

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

Function at 0x404318
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x480048], 0
je 0x404379
cmp word [0x48021c], 0xd7b2
jne 0x404341
cmp dword [0x480224], 0
jbe 0x404341
mov eax, 0x480218
call dword [0x480234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47d070
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 0x4043a0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47d034], 0
jne 0x404395
push 0
push 0x47d068
push 0x47d070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406514
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 0x40657a
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.0040470c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403100
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406564
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406581
lea eax, [ebp - 0x10]
call fcn.0040449c
ret

Function at 0x40ba18
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 0x40ba51
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040458c
jmp 0x40ba5a
mov eax, ebx
mov edx, esi
call fcn.004044f0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40ca3c
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 0x40cb12
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404534
lea eax, [ebp - 8]
call fcn.004049ac
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040495c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cafc
mov eax, ebx
call fcn.00402a60
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40caf5
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.0040495c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cadf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cb24
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cadf
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 0x40cafc
mov eax, dword [ebp - 0x10]
call fcn.00402a90
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cb19
lea eax, [ebp - 8]
call fcn.0040449c
ret
Function at 0x40d080
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 0x40d0e4
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.0040470c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408c14
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d0eb
lea eax, [ebp - 0xc]
call fcn.0040449c
ret

Function at 0x422554
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x480884
cmp dword [edi], 0
jne 0x4225d0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x480880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x47d498
mov ecx, 2
call fcn.00402c80
mov edx, 0x42252c
lea eax, [esi + 5]
call fcn.0042254c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042254c
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 0x4225a5
mov dword [0x480880], 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 0x423b7c
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 0x423b82
ret

Function at 0x426174
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 0x4261c5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4261ac
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42619c
jmp 0x4261c5
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 0x4261ad
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f1e8
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.0040494c
xor eax, eax
push ebp
push 0x42f316
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42f2e9
xor eax, eax
push ebp
push 0x42f2e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040475c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42f2b7
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 0x42f2a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040475c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.0040495c
mov edx, ebx
pop ecx
call fcn.00402c80
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 0x42f2ad
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x47fb9c]
mov dl, 1
mov eax, dword [0x4078f4]
call fcn.0040c2a0
call fcn.00403eb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f31d
lea eax, [ebp - 4]
call fcn.0040449c
ret
Function at 0x42f324
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 0x42f4d5
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404b4c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42f4ec
call fcn.004047a8
mov eax, ebx
call fcn.00421ae8
mov edi, eax
dec edi
test edi, edi
jl 0x42f3dc
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00421abc
mov edx, dword [0x447354]
call fcn.00403868
test al, al
je 0x42f3d8
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00421abc
lea edx, [ebp - 0x14]
call fcn.00451194
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404b4c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040481c
inc esi
dec edi
jne 0x42f38a
mov al, byte [0x42f4f0]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42f4fc
mov eax, dword [ebp - 0xc]
call fcn.0040d65c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404534
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.00451194
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42f4ec
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.00451194
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42f4ec
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, 0x42f4ec
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, 0x42f508
call fcn.00409820
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f4dc
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004044c0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004044c0
lea eax, [ebp - 0x14]
call fcn.0040449c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044c0
ret

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