joyce8/EMBER2024-capa huggingface dataset:
Function at 0x56654718
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x5666ef94
call fcn.566541a0
sub esp, 0x14
mov eax, dword [0x5667b8ac]
mov al, byte [eax + 0x38]
push ebx
mov dword [ebp - 0x14], ecx
xor ecx, ecx
xor ebx, ebx
cmp al, bl
sete cl
push esi
push edi
push ecx
lea ecx, [ebp - 0x1c]
call fcn.56641d1e
movzx eax, word [ebp + 8]
push 5
mov esi, 0x5667bcc8
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.56662069
push eax
call dword [0x5667b95c]
mov edi, eax
cmp edi, ebx
jne 0x56654773
push 0x80004005
call fcn.5666003f
pop ecx
push edi
mov ecx, esi
call fcn.56662069
push eax
call dword [sym.imp.kernel32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x56654794
push 0x8007000e
call fcn.5666be85
pop ecx
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_LockResource]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x566547af
push 0x8007000e
call fcn.5666be85
pop ecx
push edi
mov ecx, esi
call fcn.56662069
push eax
call dword [sym.imp.kernel32.dll_SizeofResource]
cmp dword [ebp - 0x1c], ebx
mov esi, eax
je 0x56654828
push ebx
push 0x566316d0
push 0x5667bcc8
lea ecx, [ebp + 8]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp + 8], ebx
call fcn.56641ac1
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x20]
push edx
push dword [ebp - 0x18]
mov byte [ebp - 4], 1
push esi
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jge 0x56654805
push eax
call fcn.5665fd4a
pop ecx
mov eax, dword [ebp - 0x10]
cmp word [eax + 2], 0xffff
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov esi, eax
jne 0x5665481a
add eax, 0xc
push eax
call dword [edx + 0x10]
lea ecx, [ebp + 8]
call fcn.5665f161
jmp 0x56654835
push esi
push dword [ebp - 0x18]
call fcn.56657a4c
pop ecx
pop ecx
mov esi, eax
lea ecx, [ebp - 0x1c]
call fcn.5665f161
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x566572bc
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x5666f249
call fcn.566541a0
push ecx
push esi
push edi
xor edi, edi
push edi
mov esi, ecx
push edi
push edi
push edi
lea ecx, [esi + 0xc]
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.5665f8c4
push edi
push edi
push edi
push edi
lea ecx, [esi + 0x14]
mov dword [ebp - 4], edi
call fcn.5665f8c4
push edi
push edi
push edi
push edi
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 1
call fcn.5665f8c4
push edi
push edi
push 1
push edi
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.5665f8c4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x30], eax
mov dword [esi], 0x56636420
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x566602f2
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8
Function at 0x56666847
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x56670224
call fcn.566541a0
sub esp, 0xa8
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], ebx
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.oleaut32.dll_SetErrorInfo]
mov esi, dword [ebp + 8]
call fcn.5666be85
lea eax, [ebp - 0xb4]
push eax
mov byte [ebp - 0x14], bl
mov dword [ebp - 0xb4], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [ebp - 0xa4], 2
jne 0x566668af
cmp dword [ebp - 0xb0], 4
jb 0x566668af
mov byte [ebp - 0x14], 1
push ebx
push ebx
push 0x5663742c
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x566668c3
mov byte [ebp - 0x14], bl
mov esi, dword [ebp - 0x14]
push esi
call fcn.566686f2
pop ecx
push esi
call fcn.56668446
pop ecx
push esi
call fcn.5666803a
pop ecx
push esi
call fcn.56667fae
pop ecx
push esi
call fcn.5666798f
pop ecx
push esi
call fcn.5666790f
pop ecx
push esi
call fcn.5666788f
pop ecx
push esi
call fcn.566677b6
pop ecx
push esi
call fcn.566672ab
pop ecx
push esi
call fcn.56666967
pop ecx
push dword [ebp - 0x18]
push ebx
call dword [sym.imp.oleaut32.dll_CreateErrorInfo]
lea ecx, [ebp - 0x18]
call fcn.5665f161
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x5666be85
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x5666be94
pop dword [ebp - 0x44]
mov eax, 0xf64ad46e
sub eax, 0x9fe415da
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x45c51a29
sub dword [ebp - 0x54], 0xf772d4de
mov dword [ebp - 0x50], 0xd530c6fc
sub dword [ebp - 0x50], 0xa2fd7ab7
mov dword [ebp - 0x4c], 0x2ee2077c
add dword [ebp - 0x4c], 0x1d6a3cb2
mov dword [ebp - 0x48], 0x26955f90
add dword [ebp - 0x48], 0xd96aa070
lea eax, [ebp - 0x54]
push eax
mov eax, 0xc1f9262f
add eax, 0x9469eb15
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xfd784671
sub dword [ebp - 0x54], 0x8905dd1b
mov dword [ebp - 0x50], 0xbe2b9a9a
add dword [ebp - 0x50], 0x8340c6db
mov dword [ebp - 0x4c], 0x227a46e5
sub dword [ebp - 0x4c], 0xbf0ada79
mov dword [ebp - 0x48], 0x297d265b
add dword [ebp - 0x48], 0xd682d9a5
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3b19c
push 0
call eax
mov ecx, 0x3abf5a0e
add ecx, 0xc540ecf2
mov edx, eax
mov edi, 0x50c2d5f4
add edi, 0x5a5aa0c
add edi, dword [ebp - 0x44]
mov esi, 0x2cb8b030
sub esi, 0xbc164b6f
add dword [ebp - 0x10], ecx
mov ebx, dword [edi]
xor dword [ebp - 0x40], esi
sub ebx, esi
xor dword [ebp - 0x28], eax
mov dword [edx], ebx
xor dword [ebp - 0x28], edi
add edx, 0xf93284e
sub edx, 0xf93284a
add edi, 4
loop 0x5666bfb1
add eax, 0x12ec751f
add eax, 0xed1499b4
mov ebx, eax
add eax, 5
mov ecx, 0x56630000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x1000b445
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10069a2c
call fcn.100693b8
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 0x14], 0x14e8
cmp dword [ebp - 0x14], 0x1602
push edi
mov dword [ebp - 0x10], esp
jle 0x1000b48e
xor esi, esi
xor edi, edi
mov eax, edi
mov ecx, 0x1065bbb8
xor eax, esi
cdq
push edx
push eax
call fcn.1000ba59
inc edi
cmp edi, 0x610c
jl 0x1000b46b
inc esi
cmp esi, 0x720c
jl 0x1000b469
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x1206
jge 0x1000b4aa
mov edx, 0x10007770
mov ecx, 0x1065bbb8
call fcn.1000f059
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001add9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 2
push ebx
push edi
mov edi, edx
mov ebx, ecx
jg 0x1001ae67
imul eax, ebx, 0xab
cmp byte [eax + edi + 0x10664660], 0x54
je 0x1001ae6b
push esi
xor esi, esi
mov edx, dword [esi*4 + 0x10007bd0]
mov ecx, dword [esi*4 + 0x10007bc0]
add edx, edi
add ecx, ebx
js 0x1001ae60
cmp ecx, dword [0x1066b89c]
jge 0x1001ae60
test edx, edx
js 0x1001ae60
cmp edx, dword [0x10660934]
jge 0x1001ae60
imul eax, ecx, 0xab
add eax, edx
cmp byte [eax + 0x10664660], 0x2a
je 0x1001ae60
imul eax, eax, 3
add eax, dword [ebp + 8]
cmp byte [esi + eax*4 + 0x106d14a0], 0
jne 0x1001ae60
mov byte [esi + eax*4 + 0x106d14a0], 1
xor eax, eax
cmp esi, dword [ebp + 0xc]
push esi
setne al
add eax, dword [ebp + 8]
push eax
call fcn.1001add9
pop ecx
pop ecx
inc esi
cmp esi, 4
jl 0x1001adfb
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x10007a34
call fcn.1005329d
pop ecx
push 0
call fcn.100538ed
int3
Function at 0x100254a8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100254d4
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
push 1
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.100254ff
add esp, 0xc
jmp 0x100254fb
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x100254f3
push 0xfe
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x100254fb
push 0
call dword [sym.imp.USER32.dll_CreateIconIndirect]
mov esp, ebp
pop ebp
ret
Function at 0x1004097f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100409b5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 4]
push 1
push 0x7392
push dword [ebp - 8]
push 0x67c6
call fcn.100409e2
add esp, 0x14
jmp 0x100409de
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x100409d6
push 0
push 1
push 0xb2
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
jmp 0x100409de
push 0x15
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x100644f5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1006f750]
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.10056f38
mov dword [ebp - 0x14], eax
cmp dword [0x1065ccd8], esi
jne 0x100645e8
push 0x800
push esi
push 0x10007568
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10064575
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x100646c8
push esi
push esi
push 0x10007568
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x100646c8
push 0x10007580
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100646c8
push eax
call ebx
push 0x1000758c
push edi
mov dword [0x1065ccd8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000759c
push edi
mov dword [0x1065ccdc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100075b0
push edi
mov dword [0x1065cce0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1065cce8], eax
test eax, eax
je 0x100645e5
push 0x100075cc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1065cce4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006460d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10064600
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10064622
push 4
pop eax
jmp 0x100646ca
cmp dword [ebp - 0x14], esi
je 0x10064622
push dword [0x1065ccd8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10064607
mov eax, dword [0x1065cce4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10064680
cmp dword [0x1065cce8], edi
je 0x10064680
push eax
call ebx
push dword [0x1065cce8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10064680
test eax, eax
je 0x10064680
call ecx
test eax, eax
je 0x10064675
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 0x10064675
test byte [ebp - 8], 1
jne 0x10064680
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x100646b0
mov eax, dword [0x1065ccdc]
cmp eax, edi
je 0x100646ad
push eax
call ebx
test eax, eax
je 0x100646ad
call eax
mov esi, eax
test esi, esi
je 0x100646ad
mov eax, dword [0x1065cce0]
cmp eax, edi
je 0x100646ad
push eax
call ebx
test eax, eax
je 0x100646ad
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1065ccd8]
call ebx
test eax, eax
je 0x100646c8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x100646ca
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100544c3
mov esp, ebp
pop ebp
ret
Function at 0x401210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
xor eax, eax
push ebx
push esi
mov esi, dword [0x4064ac]
push edi
cmp esi, 1
jbe 0x401268
mov edi, dword [0x4064a8]
lea ebx, [esi - 1]
add edi, 0x10
xor esi, esi
mov eax, dword [edi - 0x10]
lea edi, [edi + 0xc]
sub eax, dword [edi - 0x10]
cdq
mov ecx, eax
mov eax, dword [edi - 0x18]
sub eax, dword [edi - 0xc]
xor ecx, edx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
add eax, esi
lea esi, [ecx - 1]
add esi, eax
sub ebx, 1
jne 0x401234
mov dword [ebp - 8], esi
xor edi, edi
mov esi, dword [0x4064ac]
jmp 0x401277
xor eax, eax
xor edi, edi
mov dword [ebp - 8], eax
test esi, esi
je 0x40130d
mov edx, dword [0x4064a8]
nop dword [eax]
lea ecx, [edi + edi*2]
xor eax, eax
lea ebx, [edx + ecx*4]
add edx, 8
nop dword [eax + eax]
cmp edi, eax
je 0x40129b
mov ecx, dword [ebx + 8]
cmp ecx, dword [edx]
jb 0x4012e8
inc eax
add edx, 0xc
cmp eax, esi
jb 0x401290
mov eax, dword [ebx + 8]
mov edx, dword [0x4064a8]
xor edi, edi
mov dword [ebp - 4], eax
lea eax, [edi + edi*2]
xor ecx, ecx
lea ebx, [edx + eax*4]
add edx, 8
nop dword [eax]
cmp edi, ecx
je 0x4012cb
mov eax, dword [ebx + 8]
cmp eax, dword [edx]
ja 0x4012f9
inc ecx
add edx, 0xc
cmp ecx, esi
jb 0x4012c0
mov ecx, dword [0x4064a8]
lea eax, [edi + edi*2]
mov ebx, dword [ebp - 8]
mov eax, dword [ecx + eax*4 + 8]
mov ecx, dword [ebp - 4]
jmp 0x401315
mov edx, dword [0x4064a8]
mov edi, eax
cmp eax, esi
jb 0x401280
mov eax, dword [ebp - 8]
jmp 0x4012a6
mov edx, dword [0x4064a8]
mov edi, ecx
cmp ecx, esi
jb 0x4012b1
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
jmp 0x401312
mov ecx, dword [ebp - 8]
xor ebx, ebx
mov eax, dword [ebp - 8]
sub ecx, eax
jne 0x401323
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x66666667
imul ecx
mov eax, ebx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
pop edi
add ecx, edx
cdq
pop esi
idiv ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402b15
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402b54
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402b54
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402b54
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402b54
cmp dword [ecx + 0x74], 0xe
jbe 0x402b54
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x402594
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4025a2
call dword [0x40b004]
or eax, eax
je 0x4025a3
ret
mov al, 1
jmp fcn.00402614

Function at 0x4025ac
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4025ba
call dword [0x40b008]
or eax, eax
jne 0x4025bb
ret
mov al, 2
jmp fcn.00402614

Function at 0x4025c4
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x4025fc
test edx, edx
je 0x4025e6
push eax
mov eax, ecx
call dword [0x40b00c]
pop ecx
or eax, eax
je 0x4025f5
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.00402614
mov dword [eax], edx
mov eax, ecx
call dword [0x40b008]
or eax, eax
jne 0x4025df
ret
mov al, 1
jmp fcn.00402614
test edx, edx
je 0x402610
push eax
mov eax, edx
call dword [0x40b004]
pop ecx
or eax, eax
je 0x4025f5
mov dword [ecx], eax
ret

Function at 0x403780
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.00402614
cmp eax, edx
je 0x4037f0
cmp word [eax], 8
jb 0x4037a5
push eax
push edx
cmp word [eax], 0x100
je 0x40379b
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x4037a3
add eax, 8
call fcn.00403198
pop edx
pop eax
cmp word [edx], 8
jae 0x4037bc
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
jne 0x4037dc
mov edx, dword [edx + 8]
or edx, edx
je 0x4037d3
mov ecx, dword [edx - 8]
inc ecx
jle 0x4037d3
mov dword [edx - 8], ecx
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne 0x403744
ret

Function at 0x4051fc
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
test eax, eax
jle 0x405235
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403278
jmp 0x40523e
mov eax, ebx
mov edx, esi
call fcn.0040322c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405248
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
test eax, eax
jle 0x405269
mov al, byte [esp]
jmp 0x40526b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4099a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a90
push ebx
push 0x409a9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a24
mov al, 0x69
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409978
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a2d
call fcn.00409978
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a7e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x43b64a
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
mov ebx, dword [esp]
add esp, 4
or eax, eax
or edi, edi
sub eax, eax
call fcn.0043b686
sub edi, edi
and edi, eax
mov edi, eax
xor dword [ecx], ebx
sub edi, 0x8769aba7
sub eax, edi
inc ecx
add edi, eax
mov eax, edi
and eax, edi
cmp ecx, esi
jne fcn.0043b64a
dec eax
mov eax, 0xb10ccaae
ret
Function at 0x100111a9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x100111b8
pop dword [ebp - 0x40]
mov eax, 0x6fdcddf8
add eax, 0xa02433c0
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x3e132
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0xf7aa5d18
sub ecx, 0xf7aa1ddf
mov edi, eax
mov edx, 0x4c4c07ba
sub edx, 0x3c474bba
add edx, dword [ebp - 0x40]
mov esi, 0x5ad8db7a
mov ebx, dword [edx]
sub dword [ebp - 0x1c], edi
xor ebx, esi
sub dword [ebp - 0x3c], 0x674ccd59
mov dword [edi], ebx
xor dword [ebp - 0x34], 0x8320ee49
add edi, 4
add edx, 4
loop 0x1001120c
add eax, 0x3c19063e
add eax, 0xc3e7e979
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x10015057
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x1002dffa
call fcn.10016e35
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10015074
xor eax, eax
jmp 0x10015151
xor edi, edi
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x1001514f
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.kernel32.dll_Process32FirstW
jmp 0x10015125
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.1000127b
push ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], edi
call fcn.1000127b
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.10001cc6
lea ecx, [ebp - 0x240]
call fcn.10001cc6
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.100111a9
pop ecx
pop ecx
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
test al, al
jne 0x1001512f
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10001eb4
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x100150a4
jmp 0x10015148
mov edi, dword [ebp - 0x234]
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.10001eb4
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10016ddf
ret

Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..rsrc
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x431072
mov ebx, 0x40915c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4af34ac5
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x68b2705d
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219