joyce8/EMBER2024-capa huggingface dataset:
Function at 0x9a194c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x10c
push ebp
mov ebp, dword [esp + 0x118]
push edi
lea edi, [eax + ebp]
cmp eax, 8
ja 0x9a196f
push 0xffffffffffffffe2
pop eax
jmp 0x9a1b04
push ebx
mov ebx, dword [esp + 0x11c]
push esi
push 0x800
lea esi, [ebp + 8]
lea eax, [ebx + 0x5410]
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [ebx + 0x140c]
push esi
push eax
call fcn.009a3c43
add esp, 0x14
cmp eax, 0xffffff88
ja 0x9a1aff
add esi, eax
mov dword [esp + 0x18], 0x1c
mov eax, edi
sub eax, esi
push eax
push esi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.009a1b6e
add esp, 0x14
mov dword [esp + 0x10], eax
cmp eax, 0xffffff88
ja 0x9a1aff
cmp dword [esp + 0x14], 8
ja 0x9a1aff
push dword [esp + 0x14]
lea eax, [esp + 0x30]
push dword [esp + 0x1c]
push eax
lea eax, [ebx + 0x804]
push eax
call fcn.009a2029
add esp, 0x10
cmp eax, 0xffffff88
ja 0x9a1aff
add esi, dword [esp + 0x10]
mov eax, edi
sub eax, esi
mov dword [esp + 0x20], 0x34
push eax
push esi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.009a1b6e
add esp, 0x14
mov dword [esp + 0x10], eax
cmp eax, 0xffffff88
ja 0x9a1aff
cmp dword [esp + 0x1c], 9
ja 0x9a1aff
push dword [esp + 0x1c]
lea eax, [esp + 0xb4]
push dword [esp + 0x24]
push eax
lea eax, [ebx + 0xc08]
push eax
call fcn.009a2029
add esp, 0x10
cmp eax, 0xffffff88
ja 0x9a1aff
add esi, dword [esp + 0x10]
mov eax, edi
sub eax, esi
mov dword [esp + 0x10], 0x23
push eax
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.009a1b6e
add esp, 0x14
mov dword [esp + 0x28], eax
cmp eax, 0xffffff88
ja 0x9a1aff
cmp dword [esp + 0x24], 9
ja 0x9a1aff
push dword [esp + 0x24]
lea eax, [esp + 0x6c]
push dword [esp + 0x14]
push eax
push ebx
call fcn.009a2029
add esp, 0x10
cmp eax, 0xffffff88
ja 0x9a1aff
add esi, dword [esp + 0x28]
lea eax, [esi + 0xc]
cmp eax, edi
ja 0x9a1aff
sub edi, esi
xor edx, edx
sub edi, 0xc
add ebx, 0x5c10
mov ecx, dword [esi]
add esi, 4
test ecx, ecx
je 0x9a1aff
cmp ecx, edi
jae 0x9a1aff
mov dword [ebx], ecx
inc edx
add ebx, 4
cmp edx, 3
jl 0x9a1ae1
sub esi, ebp
mov eax, esi
jmp 0x9a1b02
push 0xffffffffffffffe2
pop eax
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x10c
ret
Function at 0x401230
Capabilities:
Get number of processors

Disassembly:
jmp 0x4125a0
push 0xffffffffffffffff
push 0x4a82b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov eax, 0x3f800000
push edi
xor edi, edi
or ebx, 0xffffffff
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
call fcn.0049b87b
mov eax, dword [eax + 4]
push 0x24
mov dword [esi + 4], eax
call fcn.004758d3
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov dword [esp + 0x1c], edi
je 0x412617
mov ecx, dword [esi + 0x2c]
push ecx
mov ecx, eax
call fcn.0040140b
mov ebp, eax
jmp 0x412619
xor ebp, ebp
push 0x24
mov dword [esp + 0x20], ebx
call fcn.004758d3
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov dword [esp + 0x1c], 1
je 0x412644
mov edx, dword [esi + 0x30]
push edx
mov ecx, eax
call fcn.0040140b
mov edi, eax
mov eax, dword [esi + 0x6c]
lea ecx, [esi + 0x64]
push ebp
push eax
mov dword [esp + 0x24], ebx
call fcn.004711f4
mov edx, dword [esi + 0x80]
lea ecx, [esi + 0x78]
push edi
push edx
call fcn.004711f4
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x401686
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x4116c0
push 0xffffffffffffffff
push 0x4a8268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push esi
lea ecx, [esp + 0x20]
call fcn.00484d84
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x40], 0
call dword [sym.imp.user32.dll_GetClientRect]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.user32.dll_InflateRect]
push 0x606060
lea ecx, [esp + 8]
call fcn.0048555f
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.user32.dll_FillRect]
lea ecx, [esp + 4]
mov dword [esp + 4], 0x4b8828
call fcn.00485041
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00484ddf
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x4017da
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x40bb80
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
jne 0x40bb99
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.kernel32.dll_LockResource_1]
mov esi, eax
test esi, esi
jne 0x40bbad
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40bbce
cmp esi, eax
jae 0x40bba7
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40bbc0
cmp esi, eax
jae 0x40bba7
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40195b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x429180
push 0xffffffffffffffff
push 0x4a9c4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esi + 0xbc]
mov dword [esp + 4], esi
call fcn.004712d3
lea ecx, [esi + 0xd0]
mov dword [esp + 0x10], 0
call fcn.004712d3
lea ecx, [esi + 0xe4]
mov byte [esp + 0x10], 1
call fcn.004712d3
lea ecx, [esi + 0xf8]
mov byte [esp + 0x10], 2
call fcn.004712d3
lea ecx, [esi + 0x10c]
mov byte [esp + 0x10], 3
call fcn.004712d3
lea ecx, [esi + 0x120]
mov byte [esp + 0x10], 4
call fcn.004712d3
lea ecx, [esi + 0x134]
mov byte [esp + 0x10], 5
call fcn.004712d3
lea ecx, [esi + 0x148]
mov byte [esp + 0x10], 6
call fcn.004712d3
lea ecx, [esi + 0x15c]
mov byte [esp + 0x10], 7
call fcn.004712d3
lea ecx, [esi + 0x170]
mov byte [esp + 0x10], 8
call fcn.004712d3
lea ecx, [esi + 0x184]
mov byte [esp + 0x10], 9
call fcn.004712d3
lea ecx, [esi + 0x198]
mov byte [esp + 0x10], 0xa
call fcn.004712d3
lea ecx, [esi + 0x1ac]
mov byte [esp + 0x10], 0xb
call fcn.004712d3
lea ecx, [esi + 0x1c0]
mov byte [esp + 0x10], 0xc
call fcn.004712d3
lea ecx, [esi + 0x1d4]
mov byte [esp + 0x10], 0xd
call fcn.004712d3
lea ecx, [esi + 0x1e8]
mov byte [esp + 0x10], 0xe
call fcn.004712d3
lea ecx, [esi + 0x1fc]
mov byte [esp + 0x10], 0xf
call fcn.004712d3
lea ecx, [esi + 0x210]
mov byte [esp + 0x10], 0x10
call fcn.004712d3
lea ecx, [esi + 0x224]
mov byte [esp + 0x10], 0x11
call fcn.004712d3
lea ecx, [esi + 0x238]
mov byte [esp + 0x10], 0x12
call fcn.004712d3
lea ecx, [esi + 0x24c]
mov byte [esp + 0x10], 0x13
call fcn.004712d3
lea ecx, [esi + 0x260]
mov byte [esp + 0x10], 0x14
call fcn.004712d3
lea ecx, [esi + 0x274]
mov byte [esp + 0x10], 0x15
call fcn.004712d3
lea ecx, [esi + 0x288]
mov byte [esp + 0x10], 0x16
call fcn.004712d3
lea ecx, [esi + 0x29c]
mov byte [esp + 0x10], 0x17
call fcn.004712d3
lea ecx, [esi + 0x2b0]
mov byte [esp + 0x10], 0x18
call fcn.004712d3
lea ecx, [esi + 0x2c4]
mov byte [esp + 0x10], 0x19
call fcn.004712d3
lea ecx, [esi + 0x2d8]
mov byte [esp + 0x10], 0x1a
call fcn.004712d3
lea ecx, [esi + 0x2ec]
mov byte [esp + 0x10], 0x1b
call fcn.004712d3
lea ecx, [esi + 0x300]
mov byte [esp + 0x10], 0x1c
call fcn.004712d3
lea ecx, [esi + 0x314]
mov byte [esp + 0x10], 0x1d
call fcn.004712d3
lea ecx, [esi + 0x328]
mov byte [esp + 0x10], 0x1e
call fcn.004712d3
lea ecx, [esi + 0x33c]
mov byte [esp + 0x10], 0x1f
call fcn.004712d3
lea ecx, [esi + 0x350]
mov byte [esp + 0x10], 0x20
call fcn.004712d3
lea ecx, [esi + 0x364]
mov byte [esp + 0x10], 0x21
call fcn.004712d3
lea ecx, [esi + 0x378]
mov byte [esp + 0x10], 0x22
call fcn.004712d3
lea ecx, [esi + 0x38c]
mov byte [esp + 0x10], 0x23
call fcn.004712d3
lea ecx, [esi + 0x3a0]
mov byte [esp + 0x10], 0x24
call fcn.004712d3
lea ecx, [esi + 0x3b4]
mov byte [esp + 0x10], 0x25
call fcn.004712d3
lea ecx, [esi + 0x3c8]
mov byte [esp + 0x10], 0x26
call fcn.004712d3
lea ecx, [esi + 0x3dc]
mov byte [esp + 0x10], 0x27
call fcn.004712d3
lea ecx, [esi + 0x3f0]
mov byte [esp + 0x10], 0x28
call fcn.004712d3
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x401b90
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x427320
push 0xffffffffffffffff
push 0x4a98e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.00401a82
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00402504
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4273b2
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x401bf4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x429510
push 0xffffffffffffffff
push 0x4a9f2e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x3f0]
mov dword [esp + 0x10], 0x28
call fcn.004712ea
lea ecx, [esi + 0x3dc]
mov byte [esp + 0x10], 0x27
call fcn.004712ea
lea ecx, [esi + 0x3c8]
mov byte [esp + 0x10], 0x26
call fcn.004712ea
lea ecx, [esi + 0x3b4]
mov byte [esp + 0x10], 0x25
call fcn.004712ea
lea ecx, [esi + 0x3a0]
mov byte [esp + 0x10], 0x24
call fcn.004712ea
lea ecx, [esi + 0x38c]
mov byte [esp + 0x10], 0x23
call fcn.004712ea
lea ecx, [esi + 0x378]
mov byte [esp + 0x10], 0x22
call fcn.004712ea
lea ecx, [esi + 0x364]
mov byte [esp + 0x10], 0x21
call fcn.004712ea
lea ecx, [esi + 0x350]
mov byte [esp + 0x10], 0x20
call fcn.004712ea
lea ecx, [esi + 0x33c]
mov byte [esp + 0x10], 0x1f
call fcn.004712ea
lea ecx, [esi + 0x328]
mov byte [esp + 0x10], 0x1e
call fcn.004712ea
lea ecx, [esi + 0x314]
mov byte [esp + 0x10], 0x1d
call fcn.004712ea
mov byte [esp + 0x10], 0x1c
lea ecx, [esi + 0x300]
call fcn.004712ea
lea ecx, [esi + 0x2ec]
mov byte [esp + 0x10], 0x1b
call fcn.004712ea
lea ecx, [esi + 0x2d8]
mov byte [esp + 0x10], 0x1a
call fcn.004712ea
lea ecx, [esi + 0x2c4]
mov byte [esp + 0x10], 0x19
call fcn.004712ea
lea ecx, [esi + 0x2b0]
mov byte [esp + 0x10], 0x18
call fcn.004712ea
lea ecx, [esi + 0x29c]
mov byte [esp + 0x10], 0x17
call fcn.004712ea
lea ecx, [esi + 0x288]
mov byte [esp + 0x10], 0x16
call fcn.004712ea
lea ecx, [esi + 0x274]
mov byte [esp + 0x10], 0x15
call fcn.004712ea
lea ecx, [esi + 0x260]
mov byte [esp + 0x10], 0x14
call fcn.004712ea
lea ecx, [esi + 0x24c]
mov byte [esp + 0x10], 0x13
call fcn.004712ea
lea ecx, [esi + 0x238]
mov byte [esp + 0x10], 0x12
call fcn.004712ea
lea ecx, [esi + 0x224]
mov byte [esp + 0x10], 0x11
call fcn.004712ea
lea ecx, [esi + 0x210]
mov byte [esp + 0x10], 0x10
call fcn.004712ea
lea ecx, [esi + 0x1fc]
mov byte [esp + 0x10], 0xf
call fcn.004712ea
lea ecx, [esi + 0x1e8]
mov byte [esp + 0x10], 0xe
call fcn.004712ea
lea ecx, [esi + 0x1d4]
mov byte [esp + 0x10], 0xd
call fcn.004712ea
lea ecx, [esi + 0x1c0]
mov byte [esp + 0x10], 0xc
call fcn.004712ea
lea ecx, [esi + 0x1ac]
mov byte [esp + 0x10], 0xb
call fcn.004712ea
lea ecx, [esi + 0x198]
mov byte [esp + 0x10], 0xa
call fcn.004712ea
lea ecx, [esi + 0x184]
mov byte [esp + 0x10], 9
call fcn.004712ea
lea ecx, [esi + 0x170]
mov byte [esp + 0x10], 8
call fcn.004712ea
lea ecx, [esi + 0x15c]
mov byte [esp + 0x10], 7
call fcn.004712ea
lea ecx, [esi + 0x148]
mov byte [esp + 0x10], 6
call fcn.004712ea
lea ecx, [esi + 0x134]
mov byte [esp + 0x10], 5
call fcn.004712ea
lea ecx, [esi + 0x120]
mov byte [esp + 0x10], 4
call fcn.004712ea
lea ecx, [esi + 0x10c]
mov byte [esp + 0x10], 3
call fcn.004712ea
lea ecx, [esi + 0xf8]
mov byte [esp + 0x10], 2
call fcn.004712ea
mov byte [esp + 0x10], 1
lea ecx, [esi + 0xe4]
call fcn.004712ea
lea ecx, [esi + 0xd0]
mov byte [esp + 0x10], 0
call fcn.004712ea
lea ecx, [esi + 0xbc]
mov dword [esp + 0x10], 0xffffffff
call fcn.004712ea
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40221b
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x42efe0
sub esp, 0x110
mov eax, dword [0x4d0954]
xor eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x114]
push esi
mov dword [esp + 0x110], eax
lea eax, [esp + 4]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x42f05b
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.advapi32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x120]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.kernel32.dll_lstrcpy]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, dword [esp + 0x110]
xor ecx, dword [esp + 0x114]
mov eax, esi
pop esi
call fcn.00450999
add esp, 0x110
ret 0xc

Function at 0x4116d8
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x4116c0
push 0xffffffffffffffff
push 0x4a8268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push esi
lea ecx, [esp + 0x20]
call fcn.00484d84
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x40], 0
call dword [sym.imp.user32.dll_GetClientRect]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.user32.dll_InflateRect]
push 0x606060
lea ecx, [esp + 8]
call fcn.0048555f
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.user32.dll_FillRect]
lea ecx, [esp + 4]
mov dword [esp + 4], 0x4b8828
call fcn.00485041
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00484ddf
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x429196
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x429180
push 0xffffffffffffffff
push 0x4a9c4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esi + 0xbc]
mov dword [esp + 4], esi
call fcn.004712d3
lea ecx, [esi + 0xd0]
mov dword [esp + 0x10], 0
call fcn.004712d3
lea ecx, [esi + 0xe4]
mov byte [esp + 0x10], 1
call fcn.004712d3
lea ecx, [esi + 0xf8]
mov byte [esp + 0x10], 2
call fcn.004712d3
lea ecx, [esi + 0x10c]
mov byte [esp + 0x10], 3
call fcn.004712d3
lea ecx, [esi + 0x120]
mov byte [esp + 0x10], 4
call fcn.004712d3
lea ecx, [esi + 0x134]
mov byte [esp + 0x10], 5
call fcn.004712d3
lea ecx, [esi + 0x148]
mov byte [esp + 0x10], 6
call fcn.004712d3
lea ecx, [esi + 0x15c]
mov byte [esp + 0x10], 7
call fcn.004712d3
lea ecx, [esi + 0x170]
mov byte [esp + 0x10], 8
call fcn.004712d3
lea ecx, [esi + 0x184]
mov byte [esp + 0x10], 9
call fcn.004712d3
lea ecx, [esi + 0x198]
mov byte [esp + 0x10], 0xa
call fcn.004712d3
lea ecx, [esi + 0x1ac]
mov byte [esp + 0x10], 0xb
call fcn.004712d3
lea ecx, [esi + 0x1c0]
mov byte [esp + 0x10], 0xc
call fcn.004712d3
lea ecx, [esi + 0x1d4]
mov byte [esp + 0x10], 0xd
call fcn.004712d3
lea ecx, [esi + 0x1e8]
mov byte [esp + 0x10], 0xe
call fcn.004712d3
lea ecx, [esi + 0x1fc]
mov byte [esp + 0x10], 0xf
call fcn.004712d3
lea ecx, [esi + 0x210]
mov byte [esp + 0x10], 0x10
call fcn.004712d3
lea ecx, [esi + 0x224]
mov byte [esp + 0x10], 0x11
call fcn.004712d3
lea ecx, [esi + 0x238]
mov byte [esp + 0x10], 0x12
call fcn.004712d3
lea ecx, [esi + 0x24c]
mov byte [esp + 0x10], 0x13
call fcn.004712d3
lea ecx, [esi + 0x260]
mov byte [esp + 0x10], 0x14
call fcn.004712d3
lea ecx, [esi + 0x274]
mov byte [esp + 0x10], 0x15
call fcn.004712d3
lea ecx, [esi + 0x288]
mov byte [esp + 0x10], 0x16
call fcn.004712d3
lea ecx, [esi + 0x29c]
mov byte [esp + 0x10], 0x17
call fcn.004712d3
lea ecx, [esi + 0x2b0]
mov byte [esp + 0x10], 0x18
call fcn.004712d3
lea ecx, [esi + 0x2c4]
mov byte [esp + 0x10], 0x19
call fcn.004712d3
lea ecx, [esi + 0x2d8]
mov byte [esp + 0x10], 0x1a
call fcn.004712d3
lea ecx, [esi + 0x2ec]
mov byte [esp + 0x10], 0x1b
call fcn.004712d3
lea ecx, [esi + 0x300]
mov byte [esp + 0x10], 0x1c
call fcn.004712d3
lea ecx, [esi + 0x314]
mov byte [esp + 0x10], 0x1d
call fcn.004712d3
lea ecx, [esi + 0x328]
mov byte [esp + 0x10], 0x1e
call fcn.004712d3
lea ecx, [esi + 0x33c]
mov byte [esp + 0x10], 0x1f
call fcn.004712d3
lea ecx, [esi + 0x350]
mov byte [esp + 0x10], 0x20
call fcn.004712d3
lea ecx, [esi + 0x364]
mov byte [esp + 0x10], 0x21
call fcn.004712d3
lea ecx, [esi + 0x378]
mov byte [esp + 0x10], 0x22
call fcn.004712d3
lea ecx, [esi + 0x38c]
mov byte [esp + 0x10], 0x23
call fcn.004712d3
lea ecx, [esi + 0x3a0]
mov byte [esp + 0x10], 0x24
call fcn.004712d3
lea ecx, [esi + 0x3b4]
mov byte [esp + 0x10], 0x25
call fcn.004712d3
lea ecx, [esi + 0x3c8]
mov byte [esp + 0x10], 0x26
call fcn.004712d3
lea ecx, [esi + 0x3dc]
mov byte [esp + 0x10], 0x27
call fcn.004712d3
lea ecx, [esi + 0x3f0]
mov byte [esp + 0x10], 0x28
call fcn.004712d3
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x452704
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 8
call fcn.00454b46
xor esi, esi
inc esi
cmp dword [0x4d44f4], esi
pop ecx
jne 0x45272c
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x4d44f0], esi
mov byte [0x4d44ec], al
jne 0x452792
mov ecx, dword [0x4d6180]
test ecx, ecx
je 0x452773
mov eax, dword [0x4d617c]
sub eax, 4
cmp eax, ecx
jmp 0x45276c
mov eax, dword [eax]
test eax, eax
je 0x45275e
call eax
mov eax, dword [0x4d617c]
sub eax, 4
cmp eax, dword [0x4d6180]
mov dword [0x4d617c], eax
jae 0x452756
mov eax, 0x4ceb20
mov esi, 0x4ced28
cmp eax, esi
mov edi, eax
jae 0x452792
mov eax, dword [edi]
test eax, eax
je 0x45278b
call eax
add edi, 4
cmp edi, esi
jb 0x452783
mov eax, 0x4cee2c
mov esi, 0x4cf034
cmp eax, esi
mov edi, eax
jae 0x4527b1
mov eax, dword [edi]
test eax, eax
je 0x4527aa
call eax
add edi, 4
cmp edi, esi
jb 0x4527a2
cmp dword [ebp + 0x10], 0
pop edi
pop esi
je 0x4527c2
push 8
call fcn.00454a9a
jmp 0x4527d4
push dword [ebp + 8]
mov dword [0x4d44f4], 1
call fcn.00452627
pop ecx
pop ebp
ret
Function at 0x452a5c
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x4bc180
call fcn.004549b0
mov edi, 0x94
mov eax, edi
call fcn.00450ae0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.kernel32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x4d44b4], ecx
mov eax, dword [esi + 4]
mov dword [0x4d44c0], eax
mov edx, dword [esi + 8]
mov dword [0x4d44c4], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x4d44b8], esi
cmp ecx, 2
je 0x452abc
or esi, 0x8000
mov dword [0x4d44b8], esi
shl eax, 8
add eax, edx
mov dword [0x4d44bc], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.kernel32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x452af7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x452af7
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x452b0f
cmp eax, 0x20b
je 0x452afc
mov dword [ebp - 0x1c], esi
jmp 0x452b23
cmp dword [ecx + 0x84], 0xe
jbe 0x452af7
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x452b1d
cmp dword [ecx + 0x74], 0xe
jbe 0x452af7
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00454b91
pop ecx
test eax, eax
jne 0x452b37
push 0x1c
call fcn.004529e2
pop ecx
call fcn.00456ea9
test eax, eax
jne 0x452b48
push 0x10
call fcn.004529e2
pop ecx
call fcn.00459cd8
mov dword [ebp - 4], esi
call fcn.0045a52a
test eax, eax
jge 0x452b61
push 0x1b
call fcn.004529bd
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4d6160], eax
call fcn.0045a408
mov dword [0x4d4500], eax
call fcn.0045a366
test eax, eax
jge 0x452b87
push 8
call fcn.004529bd
pop ecx
call fcn.0045a133
test eax, eax
jge 0x452b98
push 9
call fcn.004529bd
pop ecx
call fcn.0045269f
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x452bab
push eax
call fcn.004529bd
pop ecx
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
call fcn.0045a0ca
mov dword [ebp - 0x68], eax
test byte [ebp - 0x38], 1
je 0x452bcc
movzx eax, word [ebp - 0x34]
jmp 0x452bcf
push 0xa
pop eax
push eax
push dword [ebp - 0x68]
push esi
push esi
call edi
push eax
call fcn.004634ee
mov edi, eax
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x1c], esi
jne 0x452bed
push edi
call fcn.004527d7
call fcn.004527f9
jmp 0x452c1f
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.004549eb
ret
Function at 0x45377d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
jne 0x45379a
call fcn.00453623
mov dword [eax], 0x16
xor eax, eax
jmp 0x453804
push esi
push 0x88
push 1
call fcn.00454729
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4537ef
push esi
call fcn.00456cae
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop ecx
mov dword [esi + 0x4c], edi
jne 0x4537cd
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x4536d9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
jne 0x453803
call dword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.00450a60
test ebx, ebx
pop ecx
je 0x453801
push ebx
call fcn.00453635
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x459d60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4d0954]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x4d12f0]
je 0x459d8d
inc eax
cmp eax, 0x12
jb 0x459d7e
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x4d12f0]
jne 0x459ec1
mov eax, dword [0x4d4508]
cmp eax, 1
je 0x459e9c
cmp eax, edx
jne 0x459dbd
cmp dword [0x4d0a04], 1
je 0x459e9c
cmp ecx, 0xfc
je 0x459ec1
push 0x104
lea eax, [ebp - 0x10c]
push eax
push edx
mov byte [ebp - 8], dl
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x459df6
lea eax, [ebp - 0x10c]
push 0x4bc268
push eax
call fcn.00458fa0
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
push eax
lea edi, [ebp - 0x10c]
call fcn.00452f70
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x459e38
lea eax, [ebp - 0x10c]
push eax
call fcn.00452f70
mov edi, eax
lea eax, [ebp - 0x10c]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bc264
push edi
call fcn.0045c150
add esp, 0x10
push edi
call fcn.00452f70
push dword [esi + 0x4d12f4]
mov ebx, eax
call fcn.00452f70
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00450ae0
mov ebx, esp
push 0x4bcb68
push ebx
call fcn.00458fa0
push edi
push ebx
call fcn.00458fb0
push 0x4bc260
push ebx
call fcn.00458fb0
push dword [esi + 0x4d12f4]
push ebx
call fcn.00458fb0
push 0x12010
push 0x4bc22c
push ebx
call fcn.0045c052
add esp, 0x2c
jmp 0x459ec1
push edx
lea eax, [ebp + 8]
push eax
lea esi, [esi + 0x4d12f4]
push dword [esi]
call fcn.00452f70
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
lea esp, [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.00450999
pop edi
pop esi
pop ebx
leave
ret