joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b760
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x418224]
mov dword [ebp - 0x14], eax
push esi
mov dword [ebp - 4], 0
jmp 0x40b784
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x13
jae 0x40b79d
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx*8 + 0x418178]
jne 0x40b79b
jmp 0x40b79d
jmp 0x40b77b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax*8 + 0x418178]
jne 0x40b95b
cmp dword [ebp + 8], 0xfc
je 0x40b7e3
cmp dword [ebp + 8], 0xff
je 0x40b7e3
mov edx, dword [ebp - 4]
mov eax, dword [edx*8 + 0x41817c]
push eax
push 0
push 0
push 0
push 1
call fcn.004083c0
add esp, 0x14
cmp eax, 1
jne 0x40b7e3
int3
cmp dword [0x4187c8], 1
je 0x40b7fe
cmp dword [0x4187c8], 0
jne 0x40b837
cmp dword [0x418044], 1
jne 0x40b837
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx*8 + 0x41817c]
push eax
call fcn.00404740
add esp, 4
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*8 + 0x41817c]
push edx
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x40b95b
cmp dword [ebp + 8], 0xfc
je 0x40b95b
mov byte [ebp - 0x1c], 0
push 0x104
lea eax, [ebp - 0x120]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40b874
push str._program_name_unknown_
lea ecx, [ebp - 0x120]
push ecx
call fcn.00404640
add esp, 8
lea edx, [ebp - 0x120]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.00404740
add esp, 4
add eax, 1
cmp eax, 0x3c
jbe 0x40b8bd
lea ecx, [ebp - 0x120]
push ecx
call fcn.00404740
add esp, 4
mov edx, dword [ebp - 0x10]
lea eax, [edx + eax - 0x3b]
mov dword [ebp - 0x10], eax
push 3
push 0x41613c
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0040fdb0
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call fcn.00404740
add esp, 4
mov esi, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax*8 + 0x41817c]
push ecx
call fcn.00404740
add esp, 4
lea eax, [esi + eax + 0x1c]
add eax, 3
and eax, 0xfffffffc
call fcn.00404830
mov dword [ebp - 0x124], esp
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0xc], edx
push str.Runtime_Error__n_nProgram:
mov eax, dword [ebp - 0xc]
push eax
call fcn.00404640
add esp, 8
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00404650
add esp, 8
push 0x4160b0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00404650
add esp, 8
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*8 + 0x41817c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00404650
add esp, 8
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040fc40
add esp, 0xc
lea esp, [ebp - 0x128]
mov ecx, dword [ebp - 0x14]
call fcn.0040e600
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40e600
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x418224]
jne 0x40e609
ret
jmp fcn.0040e610
Function at 0x40fc40
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
cmp dword [0x418998], 0
jne 0x40fcfb
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x40fc92
push 0x416948
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x418998], eax
cmp dword [0x418998], 0
jne 0x40fc99
xor eax, eax
jmp 0x40fdaa
push str.GetActiveWindow
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x41899c], eax
push str.GetLastActivePopup
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4189a0], eax
cmp dword [0x418778], 2
jne 0x40fcfb
push str.GetUserObjectInformationA
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4189a8], eax
cmp dword [0x4189a8], 0
je 0x40fcfb
push str.GetProcessWindowStation
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4189a4], eax
cmp dword [0x4189a4], 0
je 0x40fd3c
call dword [0x4189a4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40fd35
lea edx, [ebp - 0x18]
push edx
push 0xc
lea eax, [ebp - 0xc]
push eax
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x4189a8]
test eax, eax
je 0x40fd35
mov edx, dword [ebp - 4]
and edx, 1
jne 0x40fd3c
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
je 0x40fd66
cmp dword [0x418784], 4
jb 0x40fd58
mov eax, dword [ebp + 0x10]
or eax, 0x200000
mov dword [ebp + 0x10], eax
jmp 0x40fd64
mov ecx, dword [ebp + 0x10]
or ecx, 0x40000
mov dword [ebp + 0x10], ecx
jmp 0x40fd94
cmp dword [0x41899c], 0
je 0x40fd78
call dword [0x41899c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40fd94
cmp dword [0x4189a0], 0
je 0x40fd94
mov edx, dword [ebp - 0x14]
push edx
call dword [0x4189a0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [0x418998]
mov esp, ebp
pop ebp
ret
Function at 0x412280
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1028
call fcn.00404830
mov eax, dword [0x418224]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1020]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
cmp ecx, dword [0x419cac]
jae 0x4122cd
mov edx, dword [ebp + 8]
sar edx, 5
mov eax, dword [ebp + 8]
and eax, 0x1f
mov ecx, dword [edx*4 + 0x419cc0]
movsx edx, byte [ecx + eax*8 + 4]
and edx, 1
jne 0x4122df
mov dword [0x41876c], 9
or eax, 0xffffffff
jmp 0x412481
cmp dword [ebp + 0xc], 0
jge 0x412303
push str.size___0
push 0
push 0x79
push str.chsize.c
push 2
call fcn.004083c0
add esp, 0x14
cmp eax, 1
jne 0x412303
int3
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004120d0
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x412335
push 2
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.004120d0
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x41233d
or eax, 0xffffffff
jmp 0x412481
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x41241c
push 0x1000
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004047d0
add esp, 0xc
push 0x8000
mov edx, dword [ebp + 8]
push edx
call fcn.004132f0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0x1000
jl 0x41238c
mov dword [ebp - 0x1024], 0x1000
jmp 0x412395
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1024], eax
mov ecx, dword [ebp - 0x1024]
mov dword [ebp - 8], ecx
cmp dword [ebp - 0xc], 0x1000
jl 0x4123b3
mov dword [ebp - 0x1028], 0x1000
jmp 0x4123bc
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x1028], edx
mov eax, dword [ebp - 0x1028]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040eef0
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4123f7
cmp dword [0x418770], 5
jne 0x4123ef
mov dword [0x41876c], 0xd
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x41240a
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jg 0x412377
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004132f0
add esp, 8
jmp 0x41246c
cmp dword [ebp - 0xc], 0
jge 0x41246c
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004120d0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.0040ed00
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
neg eax
sbb eax, eax
neg eax
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x41246c
mov dword [0x41876c], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x418770], eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004120d0
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
call fcn.0040e600
mov esp, ebp
pop ebp
ret
Function at 0x412ea0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, 4
call fcn.00404830
mov dword [ebp - 0x64], esp
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], eax
push 0x1c
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x412ed4
xor eax, eax
jmp 0x412fe2
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
sub eax, 1
not eax
and eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x418778]
sub ecx, 1
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff1
add ecx, 0x11
imul ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x60]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 8]
jae 0x412f27
xor eax, eax
jmp 0x412fe2
cmp dword [0x418778], 1
je 0x412fad
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
push 0x1c
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x412f51
xor eax, eax
jmp 0x412fe2
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x48]
and ecx, 0x1000
je 0x412f36
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x44]
and eax, 0x100
je 0x412f7c
mov eax, 1
jmp 0x412fe2
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x5c]
jae 0x412f88
xor eax, eax
jmp 0x412fe2
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ebp - 8]
jae 0x412f96
mov eax, dword [ebp - 8]
mov dword [ebp - 0x5c], eax
push 4
push 0x1000
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
jmp 0x412fb3
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
mov ecx, dword [0x418778]
sub ecx, 1
neg ecx
sbb ecx, ecx
and ecx, 0x103
add ecx, 1
mov dword [ebp - 4], ecx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x64]
mov esp, ebp
pop ebp
ret

Function at 0x412ff0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x418224]
mov dword [ebp - 8], eax
mov byte [ebp - 0xa], 0
push 6
lea eax, [ebp - 0x10]
push eax
push 0x1004
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x413024
mov dword [ebp - 4], 0xffffffff
jmp 0x413033
lea edx, [ebp - 0x10]
push edx
call fcn.00413400
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.0040e600
mov esp, ebp
pop ebp
ret
Function at 0x433007
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004331b7
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x433105
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4330a8
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4330eb
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x4330bf
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x4330da
test al, 0x40
je 0x4330d1
mov ecx, dword [edi + 0x20]
jmp 0x4330d8
test al, 0x80
je 0x4330eb
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4330eb
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x433077
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x402a54
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.004044d0
test esi, esi
jne 0x402a8a
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.004045c0
jmp 0x402aa8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402968
mov edi, eax
test esi, esi
je 0x402aa8
cmp dword [ebx], 0
je 0x402aa8
dec esi
jmp 0x402a91
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403530
Capabilities:
Query or enumerate registry value

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

Function at 0x4042b0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47f048], 0
je 0x404311
cmp word [0x47f21c], 0xd7b2
jne 0x4042d9
cmp dword [0x47f224], 0
jbe 0x4042d9
mov eax, 0x47f218
call dword [0x47f234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47c054
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 0x404338
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47c01c], 0
jne 0x40432d
push 0
push 0x47c074
push 0x47c054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404484
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.0040272c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x47f049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40444c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40bb50
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 0x40bb89
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004045c0
jmp 0x40bb92
mov eax, ebx
mov edx, esi
call fcn.00404524
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c244
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c0bc
mov eax, dword [0x47e2f8]
cmp byte [eax], 0
je 0x40c2b1
mov eax, dword [0x47e11c]
call fcn.00402e10
call fcn.00402894
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408ec8
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
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 0x40c2f8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c2e7
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x47e0d0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x47f714]
call fcn.00405c48
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 0x40d01c
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 0x40d080
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.00404738
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040897c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d087
lea eax, [ebp - 0xc]
call fcn.004044d0
ret

Function at 0x423cd8
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00423b5c
dec esi
jne 0x423cfa
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x424eac
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x47fa7c
cmp dword [edi], 0
jne 0x424f28
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x47fa78]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x47c654
mov ecx, 2
call fcn.00402928
mov edx, 0x424e84
lea eax, [esi + 5]
call fcn.00424ea4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00424ea4
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 0x424efd
mov dword [0x47fa78], 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 0x42642c
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 0x426432
ret

Function at 0x428960
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 0x4289b1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x428998
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x428988
jmp 0x4289b1
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 0x428999
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43543c
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.00404970
xor eax, eax
push ebp
push 0x43556a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43553d
xor eax, eax
push ebp
push 0x435536
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404788
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43550b
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 0x4354fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404788
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404980
mov edx, ebx
pop ecx
call fcn.00402928
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 0x435501
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x47e078]
mov dl, 1
mov eax, dword [0x407930]
call fcn.0040c3b8
call fcn.00403e8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435571
lea eax, [ebp - 4]
call fcn.004044d0
ret
Function at 0x435578
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 0x435729
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404b70
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x435740
call fcn.004047d4
mov eax, ebx
call fcn.0042444c
mov edi, eax
dec edi
test edi, edi
jl 0x435630
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00424420
mov edx, dword [0x431b7c]
call fcn.0040384c
test al, al
je 0x43562c
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00424420
lea edx, [ebp - 0x14]
call fcn.0043c714
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404b70
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404848
inc esi
dec edi
jne 0x4355de
mov al, byte [0x435744]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x435750
mov eax, dword [ebp - 0xc]
call fcn.0040d5f4
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404568
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.0043c714
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x435740
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 + 0x2f0]
call fcn.0043c714
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x435740
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, 0x435740
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, 0x43575c
call fcn.00409628
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435730
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004044f4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004044f4
lea eax, [ebp - 0x14]
call fcn.004044d0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044f4
ret