joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450b60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ebp, ecx
push edi
mov edi, esi
cmp dword [esi + 0x14], 8
lea eax, [ebp + 0x304]
mov ebx, dword [esi + 0x10]
jb 0x450b80
mov edi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x450ba7
nop dword [eax + eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x450b90
lea eax, [ebp + 0x304]
push edx
push esi
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.0040add0
mov eax, dword [eax + 4]
test eax, eax
jne 0x450bc2
mov eax, dword [ebp + 0x308]
cmp eax, dword [ebp + 0x308]
je 0x450bd7
mov eax, dword [eax + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
push esi
call fcn.00451550
cmp dword [eax + 0x10], 0
jne 0x450c12
cmp dword [esi + 0x60], 0
je 0x450c7b
cmp dword [esi + 0x64], 0
je 0x450c7b
push dword [esp + 0x24]
mov ecx, ebp
push 0xffff0000
push esi
call fcn.00450d50
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
push esi
call fcn.00451550
mov edx, eax
mov ebx, edx
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x450c27
mov ebx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
add eax, eax
mov dword [esp + 0x10], eax
je 0x450c4d
mov esi, eax
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, esi
jb 0x450c38
mov esi, dword [esp + 0x1c]
push edi
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [ebp + 0x304]
call fcn.0040add0
mov eax, dword [eax + 4]
test eax, eax
jne 0x450c6c
mov eax, dword [ebp + 0x308]
cmp eax, dword [ebp + 0x308]
jne 0x450c87
mov eax, dword [esp + 0x20]
mov byte [eax], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov eax, dword [eax + 0x20]
test eax, eax
je 0x450c7b
cmp dword [esi + 0x60], 0
je 0x450c7b
cmp dword [esi + 0x64], 0
je 0x450c7b
push dword [esp + 0x24]
mov ecx, ebp
push eax
push esi
call fcn.00450d50
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x454060
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x210]
sub esp, 0x210
push 0xffffffffffffffff
push 0x54feed
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5d6024]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x105
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x45419f
cmp eax, 0x105
jae 0x45419f
call fcn.00409310
mov ecx, eax
test ecx, ecx
je 0x4541c3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
lea eax, [ebp]
test eax, 0xffff0000
jne 0x4540f3
movzx eax, ax
lea ecx, [ebp - 0x10]
push eax
call fcn.00415200
jmp 0x45411c
lea ecx, [ebp]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454100
sub ecx, edx
lea eax, [ebp]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00408e90
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
push 1
push 0x58adfc
call fcn.00418fd0
test esi, esi
jne 0x45413a
xor ecx, ecx
jmp 0x45414f
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454140
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x10]
call fcn.00418fd0
mov esi, dword [ebp - 0x10]
push 0x5c
push esi
call fcn.00522bf8
add esp, 8
test eax, eax
jne 0x45416f
xor edi, edi
jmp 0x45417c
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x45419b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
jmp 0x4541a1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.00521461
lea esp, [ebp + 0x210]
pop ebp
ret
push 0x80004005
call fcn.00408fe0
int3
Function at 0x4541d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ffc6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5d6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 8]
mov dword [edi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 2
mov edx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 0x20], edx
mov dword [ebp - 4], 4
lea ecx, [edi + 0x3c]
mov dword [edi + 0x28], 0
lea eax, [ecx + 8]
mov dword [edi + 0x2c], 1
mov dword [edi + 0x30], 0
mov dword [ebp - 0x14], ecx
mov dword [edi], 0x58adec
mov dword [edi + 0x38], 0
mov dword [ecx + 4], 0
mov dword [ebp - 0x18], eax
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 6
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov byte [ebp - 4], 7
mov dword [ecx + 0x20], edx
mov byte [ebp - 4], 9
mov dword [ecx], 0x58addc
mov dword [ecx + 0x24], 0
mov byte [ebp - 4], 0xa
lea esi, [edi + 0x90]
mov eax, dword [ebp + 8]
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0xc8
mov dword [edi + 0x8c], 0
mov dword [ebp + 8], esi
mov dword [esi], 0
push 0x2c
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.005214a3
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 0xc
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.00416150
mov byte [ebp - 4], 0xe
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 0
mov byte [ebp - 4], 0xf
push 0x11
mov word [edi + 0xbc], 0
mov byte [edi + 0xbe], 0
mov dword [edi + 0xc0], 0
mov byte [edi + 0xc8], 0
mov dword [edi + 0xcc], 0
mov byte [edi + 0xd0], 1
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [edi + 0xc4], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x456780
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55058d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5d6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, 0x1fffffff
mov edi, 1
bsr ecx, eax
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x456920
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.00416150
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x4568dc
nop dword [eax + eax]
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp + 8], eax
cmp ebx, esi
jne 0x456861
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x4568cf
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x456898
mov eax, dword [eax]
cmp eax, ecx
je 0x456890
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x4568cf
cmp ebx, eax
je 0x4568ac
nop dword [eax]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x4568fe
cmp ebx, eax
jne 0x4568a0
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [ebp - 0x14]
mov ecx, edx
cmp edx, esi
jne 0x456810
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp + 8], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
jmp 0x4568cf
push str.invalid_hash_bucket_count
call fcn.0051f575
int3
Function at 0x4571c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55070d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5d6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, 0x1fffffff
mov edi, 1
bsr ecx, eax
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x457360
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.00416150
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x45731c
nop dword [eax + eax]
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp + 8], eax
cmp ebx, esi
jne 0x4572a1
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x45730f
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x4572d8
mov eax, dword [eax]
cmp eax, ecx
je 0x4572d0
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x45730f
cmp ebx, eax
je 0x4572ec
nop dword [eax]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x45733e
cmp ebx, eax
jne 0x4572e0
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [ebp - 0x14]
mov ecx, edx
cmp edx, esi
jne 0x457250
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp + 8], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
jmp 0x45730f
push str.invalid_hash_bucket_count
call fcn.0051f575
int3
Function at 0x4587e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550ba6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5d6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push edi
call fcn.00435c10
mov dword [ebp - 4], 0
mov dword [esi + 0x130], 0
mov dword [esi], 0x586218
mov dword [esi + 0x24], 0x586134
mov dword [esi + 0x28], 0x586120
mov dword [ebp - 4], 1
lea ebx, [esi + 0x138]
mov dword [esi + method.std::_Facet_base.virtual_4], 0x589010
mov ecx, edi
mov dword [ebx], method.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.virtual_56
mov dword [esi], 0x58af9c
mov dword [esi + 0x24], 0x58aeb8
mov dword [esi + 0x28], 0x58aea4
mov dword [esi + 0x134], 0x58ae9c
add esi, 0x140
mov dword [ebx], method.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.virtual_56
mov eax, dword [edi]
mov dword [ebp + 0xc], esi
call dword [eax + 4]
mov dword [esi], 0x589f9c
mov dword [esi + 4], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x10]
lea ecx, [esi + 0x158]
mov dword [esi + 0x154], 0
call fcn.0041bb70
lea ecx, [esi + 0x17c]
lea eax, [ecx + 8]
mov dword [ecx + 4], 0
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 5
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov byte [ebp - 4], 6
mov edx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ecx + 0x20], edx
mov byte [ebp - 4], 8
mov dword [ecx], 0x58afb0
mov dword [ecx + 0x28], edi
mov dword [ecx + 0x2c], esi
mov byte [ecx + 0x30], 0
mov byte [ebp - 4], 9
lea ecx, [esi + 0x1b0]
lea eax, [ecx + 8]
mov dword [ecx + 4], 0
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 0xb
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov byte [ebp - 4], 0xc
mov dword [ecx + 0x20], edx
mov byte [ebp - 4], 0xe
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 1
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x38], 0
mov dword [ecx], 0x58afc0
mov dword [ecx + 0x40], esi
mov byte [ebp - 4], 0xf
mov byte [esi + 0x1f4], 0
mov dword [esi + 0x1f8], 0x596cc4
mov dword [esi + 0x1fc], 0
mov dword [esi + 0x200], 1
mov dword [esi + 0x204], 0x23
mov dword [esi + 0x208], 0xc
mov dword [esi + 0x20c], 0
mov byte [esi + 0x210], 0
mov dword [esi + 0x214], ebx
mov byte [esi + 0x218], 0
mov byte [esi + 0x21c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45cff0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551959
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5d6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0x584774
mov dword [edi + 4], 0
call fcn.0040ded0
lea eax, [edi + 8]
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [ebp - 4], 1
lea eax, [edi + 0x10]
mov dword [edi + 0xc], 0
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov byte [ebp - 4], 3
lea eax, [edi + 0x14]
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov byte [ebp - 4], 5
lea esi, [edi + 0x18]
push 0x14
mov dword [ebp - 0x14], esi
call fcn.005214a3
mov edx, eax
add esp, 4
mov dword [ebp - 0x18], edx
mov byte [ebp - 4], 6
lea ecx, [edx + 0xc]
mov dword [edx], 0x585d90
mov dword [edx + 4], 0x585d48
mov dword [edx + 8], 0
mov dword [ebp - 0x1c], ecx
mov dword [ecx], 0
mov byte [ebp - 4], 8
lea eax, [edx + 0x10]
mov dword [ebp - 0x1c], eax
mov dword [eax], 0
mov byte [ebp - 4], 5
mov dword [esi], edx
mov eax, dword [edx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0xc
lea ecx, [edi + 0x24]
mov dword [edi + 0x1c], 0x584758
mov dword [edi + 0x20], 0
call fcn.00415820
mov byte [ebp - 4], 0xd
mov byte [edi + 0x4c], 0
mov dword [ebp - 4], 0xe
lea ecx, [edi + 0x50]
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
call fcn.00435c10
mov byte [ebp - 4], 0xf
xorps xmm0, xmm0
mov dword [edi + 0x180], 0x58b554
lea eax, [edi + 0x194]
movq qword [edi + 0x184], xmm0
mov dword [edi + 0x18c], 0
mov dword [edi], 0x58b520
mov dword [edi + 0x50], 0x58b50c
mov dword [edi + 0x74], 0x58b428
mov dword [edi + 0x78], 0x58b414
mov dword [edi + 0x180], 0x58b404
mov dword [ebp + 0xc], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 0x11
lea eax, [edi + 0x1a0]
mov dword [ebp + 0xc], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
mov edx, dword [esi]
mov ecx, esi
mov ebx, eax
call dword [edx + 4]
mov edi, eax
mov eax, dword [ebp - 0x10]
add eax, 0x1a0
lea esi, [eax + 8]
mov dword [ebp + 8], eax
mov dword [ebp - 0x1c], esi
push 0x2c
mov dword [eax], 0x585d2c
mov dword [eax + 4], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.005214a3
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
mov byte [ebp - 4], 0x12
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 0x13
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.00416150
mov byte [ebp - 4], 0x16
mov esi, dword [ebp - 0x10]
lea eax, [esi + 0x1a0]
mov dword [eax + 0x2c], edi
push eax
lea ecx, [esi + 0x50]
mov dword [eax + 0x30], ebx
mov dword [eax + 0x28], ecx
call fcn.00421bd0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45e900
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov byte [esp + 7], 1
push esi
push edi
mov ecx, dword [ebx + 0x54]
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x45e95f
mov eax, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [esp + 0x14], eax
call edi
push dword [ebx + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0xfffffffe
call dword [sym.imp.USER32.dll_GetParent]
push dword [ebx + 4]
mov esi, eax
call edi
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x4e
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
add esp, 0x10
ret
shr ecx, 2
test cl, 1
je 0x45e998
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov edi, dword [ebx + 4]
mov esi, eax
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push edi
movzx eax, ax
push eax
push 0x111
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
add esp, 0x10
ret
push 1
push 0
push 0
push dword [ebx + 0x28]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta cl
mov byte [esp + 0xf], cl
jbe 0x45e9d6
or byte [ebx + 0x58], 2
push 1
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
add esp, 0x10
ret
pop edi
pop esi
mov al, cl
pop ebx
add esp, 0x10
ret
Function at 0x45f120
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551e7d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5d6024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test byte [esi + 0x58], 8
je 0x45f15f
push dword [esi + 0x30]
call dword [sym.imp.GDI32.dll_DeleteObject]
and byte [esi + 0x58], 0xf7
mov edi, dword [esi + 0x34]
test edi, edi
jne 0x45f170
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edi, eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x6c]
push 0x5c
push 0
push eax
call fcn.005237e0
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
push 0x5c
push edi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [esi + 0x54]
mov eax, ecx
and eax, 0x30
cmp al, 0x30
jne 0x45f1ac
mov dword [ebp - 0x5c], 0x2bc
jmp 0x45f1be
movzx eax, byte [ebp - 0x57]
test cl, 1
mov ecx, 1
cmove eax, ecx
mov byte [ebp - 0x57], al
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [esi + 0x58], 8
mov dword [esi + 0x30], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00521461
mov esp, ebp
pop ebp
ret
Function at 0x462d50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552906
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5d6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
call fcn.004785c0
mov dword [ebp - 4], 0
add edi, 0x18c
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp + 0xc], edi
call dword [eax + 8]
mov edx, dword [esi]
mov ecx, esi
mov ebx, eax
call dword [edx + 4]
lea esi, [edi + 8]
mov dword [edi], eax
mov dword [esi + 8], eax
xor eax, eax
mov dword [edi + 4], ebx
mov dword [ebp - 0x14], esi
mov dword [esi], 0x58a36c
mov dword [esi + 4], ebx
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 7
mov word [esi + 0xc], ax
mov byte [ebp - 4], 1
mov byte [esi + 0x24], al
mov byte [ebp - 4], 2
lea ecx, [edi + 0x30]
call fcn.004255f0
mov byte [ebp - 4], 3
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov byte [ebp - 4], 4
lea ecx, [edi + 0x5c]
call fcn.004256c0
mov byte [ebp - 4], 5
mov ecx, esi
mov eax, dword [esi]
push ebx
call dword [eax + 0xc]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
lea eax, [ecx + 0x208]
mov dword [ebp + 0xc], eax
mov dword [eax], 0x58a8f4
mov dword [eax + 4], ebx
mov dword [eax + 8], 0
mov byte [ebp - 4], 7
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 9
lea edi, [ecx + 0x21c]
mov dword [ecx], 0x58c540
mov dword [ecx + 0x24], 0x58c45c
mov dword [ecx + 0x28], 0x58c448
mov ecx, ebx
mov eax, dword [ebx]
mov dword [ebp + 8], edi
call dword [eax + 8]
mov edx, dword [ebx]
mov ecx, ebx
mov esi, eax
call dword [edx + 4]
mov dword [edi], 0x597754
mov dword [edi + 4], eax
mov dword [edi + 8], esi
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [ebp - 4], 0xa
xor eax, eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 7
mov word [edi + 0x18], ax
mov byte [ebp - 4], 0xc
mov dword [edi], 0x597754
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x10]
lea eax, [edi + 0x24c]
mov dword [ebp + 8], eax
mov dword [eax], 0
mov byte [ebp - 4], 0xe
mov dword [eax + 4], 0xffffffff
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], 0xffffffff
mov byte [ebp - 4], 0xf
mov dword [edi + 0x25c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8