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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10149040]
xor eax, ebp
mov dword [ebp - 4], eax
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x10149900]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1006febe
mov eax, dword [ebp - 0x10]
sub eax, 5
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 8]
push edx
push 0x40
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1006fee0
mov eax, 0xa
jmp 0x1006ffcb
cmp dword [ebp + 0xc], 0
je 0x1006ff2c
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 0x10]
add ecx, 5
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 0xc]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x1006ff2a
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x1c]
mov byte [edx + 1], 0xf9
jmp 0x1006ff6c
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1006ff59
mov eax, dword [ebp - 0xc]
add eax, 0xc
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
mov dword [ecx], edx
mov dx, word [eax + 4]
mov word [ecx + 4], dx
mov al, byte [eax + 6]
mov byte [ecx + 6], al
jmp 0x1006ff6c
mov ecx, dword [ebp - 0xc]
add ecx, 0xc
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov dword [edx], eax
mov cl, byte [ecx + 4]
mov byte [edx + 4], cl
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 1
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 0x14]
and cl, 0xfd
or cl, dl
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x14], cl
mov al, byte [ebp + 0xc]
and al, 1
shl al, 2
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx + 0x14]
and dl, 0xfb
or dl, al
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x14], dl
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10129ea9
mov esp, ebp
pop ebp
ret
Function at 0x100704c0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x10070509
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x10070509
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x10070509
xor eax, eax
jmp 0x1007054a
mov dword [ebp - 4], 1
jmp 0x1007051b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10070545
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x10070543
xor eax, eax
jmp 0x1007054a
jmp 0x10070512
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x10071a70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x10149040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x10071aa4
xor al, al
jmp 0x10071c07
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0xc]
add edx, 0x14
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
jmp 0x10071ac2
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x2c]
je 0x10071bc3
mov edx, dword [ebp - 0x1c]
sub edx, 8
mov dword [ebp - 0x24], edx
jne 0x10071adb
jmp 0x10071aba
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x48], ecx
lea edx, [ebp - 0x34]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x34], 0
je 0x10071b0c
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
jmp 0x10071b13
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10071b33
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x10071b3f
mov byte [ebp - 0xe], 0
mov al, byte [ebp - 0xe]
mov byte [ebp - 0xd], al
jmp 0x10071b7a
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x20], edx
je 0x10071b58
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0x4550
je 0x10071b64
mov byte [ebp - 0xf], 0
mov cl, byte [ebp - 0xf]
mov byte [ebp - 0xd], cl
jmp 0x10071b7a
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov byte [ebp - 0x10], 1
mov cl, byte [ebp - 0x10]
mov byte [ebp - 0xd], cl
mov dl, byte [ebp - 0xd]
mov byte [ebp - 0x11], dl
movzx eax, byte [ebp - 0x11]
test eax, eax
jne 0x10071b8d
jmp 0x10071aba
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x60], edx
lea eax, [ebp - 0x68]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1007fd00
nop
jmp 0x10071aba
mov edx, dword [ebp + 8]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [eax]
cmp edx, dword [ecx + 4]
jne 0x10071bdf
mov dword [ebp - 0x40], 1
jmp 0x10071be6
mov dword [ebp - 0x40], 0
mov al, byte [ebp - 0x40]
mov byte [ebp - 0x12], al
movzx ecx, byte [ebp - 0x12]
test ecx, ecx
jne 0x10071bfd
mov dword [ebp - 0x44], 1
jmp 0x10071c04
mov dword [ebp - 0x44], 0
mov al, byte [ebp - 0x44]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10129ea9
mov esp, ebp
pop ebp
ret
Function at 0x100734a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp + 0x10]
call fcn.10028820
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0x811c9dc5
mov dword [ebp - 4], 0
jmp 0x100734e0
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x14]
jae 0x100734ff
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
xor eax, dword [ebp - 8]
imul ecx, eax, 0x1000193
mov dword [ebp - 8], ecx
jmp 0x100734d7
mov edx, dword [ebp - 8]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100725a0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
or ecx, 1
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x100c1b30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10149040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
jne 0x100c1bd0
push 0
push 0
push 0
push 0x100506d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x100c1b6c
xor eax, eax
jmp 0x100c1bd2
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0xc]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov al, byte [ebp - 0x11]
mov byte [ebp - 0x12], al
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [edx], ecx
lea edx, [ebp - 0x10]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov dword [ebp - 0x34], 1
lea ecx, [ebp - 0xc]
call fcn.100c1bf0
mov eax, dword [ebp - 0x34]
jmp 0x100c1bd2
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10129ea9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100debc0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10133044
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10149040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
push str.body
mov ecx, dword [ebp - 0x24]
call fcn.10028910
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov dword [ebp - 0x28], ecx
push str.head
mov ecx, dword [ebp - 0x28]
call fcn.10028910
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
add edx, 0x30
mov dword [ebp - 0x2c], edx
push str.chest
mov ecx, dword [ebp - 0x2c]
call fcn.10028910
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0x48
mov dword [ebp - 0x30], eax
push str.stomach
mov ecx, dword [ebp - 0x30]
call fcn.10028910
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
mov dword [ebp - 0x34], ecx
push str.left_arm
mov ecx, dword [ebp - 0x34]
call fcn.10028910
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x10]
add edx, 0x78
mov dword [ebp - 0x38], edx
push str.right_arm
mov ecx, dword [ebp - 0x38]
call fcn.10028910
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
add eax, 0x90
mov dword [ebp - 0x3c], eax
push str.left_leg
mov ecx, dword [ebp - 0x3c]
call fcn.10028910
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0xa8
mov dword [ebp - 0x40], ecx
push str.right_leg
mov ecx, dword [ebp - 0x40]
call fcn.10028910
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0xc0
call fcn.10056590
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x10]
add edx, 0xd4
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0xe0
call fcn.10056590
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0xf4
call fcn.10056590
mov eax, dword [ebp - 0x10]
add eax, 0x108
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x18]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x100f51a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013336d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10149040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov eax, dword [0x101b2bec]
cmp dword [eax + 0x174], 0
jle 0x100f51e2
mov dword [ebp - 0x20], 1
jmp 0x100f51e9
mov dword [ebp - 0x20], 0
mov cl, byte [ebp - 0x20]
mov byte [ebp - 0x15], cl
cmp dword [0x101ad814], 4
jne 0x100f5299
mov edx, dword [0x101b2bec]
mov eax, dword [edx + 0x4cb4]
mov dword [ebp - 0x48], eax
mov ecx, dword [0x101b2bec]
mov edx, dword [ecx + 0x4cac]
mov eax, dword [0x101b2bec]
add edx, dword [eax + 0x4cb0]
mov dword [ebp - 0x44], edx
mov ecx, dword [0x101b2bec]
mov edx, dword [ecx + 0x174]
mov dword [ebp - 0x4c], edx
mov eax, dword [0x101b2b8c]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
mov edx, 3
shl edx, 2
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + edx]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
movzx ecx, byte [ebp - 0x15]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
mov ecx, dword [ebp - 0x28]
call dword [ebp - 0x50]
nop
movzx eax, byte [0x101c3954]
test eax, eax
jne 0x100f5332
push str.B8_________3B_F0_0F_4F_F0_89_5D_FC
lea ecx, [ebp - 0x7c]
call fcn.10028910
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x7c]
push ecx
push 0x101b2b30
lea edx, [ebp - 0x64]
push edx
call fcn.10022bf0
add esp, 0xc
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.10029480
nop
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0x1c]
mov dword [edx], 0x3e
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 4
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [0x101c3954], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10129ea9
mov esp, ebp
pop ebp
ret
Function at 0x10105950
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012b990
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10149040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x3c]
and ecx, 1
je 0x10105a56
mov edx, dword [ebp - 0x1c]
add edx, 0x40
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x20]
mov edx, dword [ecx]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
je 0x101059c2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x30]
mov edx, dword [eax]
mov eax, dword [ecx]
lea ecx, [eax + edx*2]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x20], edx
jmp 0x101059de
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x2c]
mov edx, dword [eax]
mov eax, dword [ecx]
lea ecx, [eax + edx*2]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x30]
sar eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x40]
shl ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x1000
jb 0x10105a3f
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.10022470
add esp, 8
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.1012a324
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0xc]
mov dword [edx], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x1c]
mov dword [ecx], 0
xor edx, edx
sar edx, 1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x2c]
mov dword [ecx], edx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x20]
mov dword [edx], 0
xor eax, eax
sar eax, 1
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x30]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x3c]
and edx, 0xfffffffe
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x3c], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10129ea9
mov esp, ebp
pop ebp
ret
Function at 0x1012990e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x10129935
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x10129938
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.101298ea
pop esi
leave
ret 8
Function at 0x4230a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x414015
lea edi, [esi - 0x13015]
push edi
jmp 0x4230ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4230c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4230b0
mov eax, 1
add ebx, ebx
jne 0x4230d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4230c8
jne 0x4230e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4230c8
xor ecx, ecx
sub eax, 3
jb 0x4230f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42316a
mov ebp, eax
add ebx, ebx
jne 0x423103
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x423110
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x423134
inc ecx
add ebx, ebx
jne 0x423120
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x423115
jne 0x423131
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x423115
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x423154
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x423145
jmp 0x4230b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x423154
add edi, ecx
jmp 0x4230b6
pop esi
mov edi, esi
mov ecx, 7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x423172
cmp byte [edi], 1
jne 0x423172
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x423177
mov ebp, dword [esi + 0x23030]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4231d2
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x804e396d
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2e0
push ebx
push esi
mov dword [ebp - 4], esp
mov eax, dword [ebp - 4]
and eax, 0xfffff000
mov ebx, 0x1000
add eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
shr eax, 2
and al, 1
mov byte [0x8050398c], al
mov eax, dword fs:[0]
test eax, eax
jne 0x804e39ce
or dword [0x80505594], 0xffffffff
mov dword [0x80505598], 0x804e3964
mov dword [0x8050559c], sym.NTOSKRNL.EXE_ExitProcess
mov dword fs:[0], 0x80505594
jmp 0x804e39e5
mov eax, dword fs:[0]
or dword [eax], 0xffffffff
mov dword [eax + 4], 0x804e3964
mov dword [eax + 8], sym.NTOSKRNL.EXE_ExitProcess
mov eax, dword [ebp - 4]
mov dword fs:[4], eax
and eax, 0x80010000
push edi
mov edi, 0x10000
or eax, edi
mov dword fs:[8], eax
mov eax, dword [0x804f3714]
mov dword fs:[0xc], 0xffffffff
xor esi, esi
mov dword fs:[0x2c], esi
mov dword fs:[0x18], 0xcfdf0000
mov dword fs:[0x30], esi
mov dword fs:[0x38], 0x8003f400
mov dword fs:[0x124], eax
mov eax, dword [0x804f3710]
mov dword [0x80504a1c], eax
call fcn.804de183
test al, al
je 0x804e3a7b
push esi
push esi
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push esi
lea eax, [ebp + 0xc]
push eax
mov dword [ebp + 0xc], esi
call fcn.804e74e6
mov eax, dword fs:[0x18]
push eax
push dword [ebp - 0xc]
call fcn.804e74fa
push 4
push 0x3000
push edi
push 0x80030000
call fcn.804e70ac
push 0x804dd4f8
call fcn.804e748f
push 0x804dd4e8
call fcn.804e744c
cmp eax, esi
je 0x804e3ab8
lea ecx, [ebp - 0x14]
push ecx
push 0x40
push ebx
push eax
call fcn.804e74b7
push eax
call fcn.804e74a3
push esi
call fcn.804e744c
mov ebx, eax
cmp ebx, esi
je 0x804e3b00
mov esi, dword [ebx + 0x3c]
add esi, ebx
mov eax, dword [esi + 0x50]
cmp eax, 0x80000000
jae 0x804e3ae6
lea ecx, [ebp - 8]
push ecx
push 0x40
push eax
push ebx
call fcn.804e74b7
push eax
call fcn.804e74a3
mov esi, dword [esi + 0xc8]
test esi, esi
je 0x804e3afe
mov esi, dword [esi + ebx + 0x3c]
test esi, esi
je 0x804e3afe
xor dword [esi], 0x4d2
xor esi, esi
mov ebx, 0x8003f400
mov eax, ebx
mov dword [eax], 0x804dd4d8
mov dword [eax + 4], 0x804dd4dc
add eax, 8
cmp eax, 0x8003f800
jl 0x804e3b07
push 4
push 0x3000
push edi
push 0xffdf0000
call fcn.804e70ac
pop edi
cmp eax, esi
je 0x804e3b4b
mov dword [eax + 0xf038], ebx
mov dword [eax + 0xf03c], ebx
mov dword [eax + 0xf12c], 0x804e3969
push 0x804f3728
push 0x10
call fcn.804e7510
push 0x804dd4e0
push 0x8050543c
call sym.NTOSKRNL.EXE_strcpy
mov eax, dword fs:[0x30]
pop ecx
mov dword [0x80505478], eax
pop ecx
xor eax, eax
cmp dword [0x804f370c], esi
pop esi
setne al
pop ebx
leave
ret 8