joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433a20
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [edi + 4]
add eax, eax
add eax, eax
push eax
lea ebp, [ebx + 4]
lea esi, [eax + 4]
call fcn.0044674b
add esp, 4
test eax, eax
mov dword [esp + 0xc], eax
jne 0x433a4f
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x10
ret
mov ecx, dword [edi]
mov dword [eax], ecx
mov ecx, dword [ecx + 8]
mov edx, 1
jmp 0x433a64
mov ebp, dword [esp + 0x10]
test ecx, ecx
je 0x433a7d
jmp 0x433a70
mov dword [eax + edx*4], ecx
mov ecx, dword [ecx + 8]
add edx, 1
test ecx, ecx
jne 0x433a70
mov ecx, dword [eax + edx*4 - 4]
sub edx, 1
mov dword [ebp], esi
mov eax, dword [ecx]
add ebp, 4
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
lea ebp, [esi + ebx]
jmp 0x433aa0
movzx edi, word [eax]
mov word [ebp], di
add eax, 2
add ebp, 2
test di, di
jne 0x433aa0
movsx eax, word [ecx + 0x10]
lea esi, [esi + eax*2 + 2]
mov ax, word [ecx + 0x12]
mov word [esi + ebx], ax
mov edi, dword [ecx + 4]
add esi, 2
test edi, edi
je 0x433b19
lea esp, [esp]
mov ax, word [edi + 6]
add ax, ax
mov word [esi + ebx], ax
mov ecx, dword [edi]
movzx eax, ax
movzx ebp, ax
push ebp
add esi, 2
push ecx
lea edx, [esi + ebx]
push edx
call fcn.00449580
movzx eax, word [edi + 4]
add esi, ebp
mov word [esi + ebx], ax
mov cl, byte [edi + 8]
add esi, 2
mov byte [esi + ebx], cl
mov edi, dword [edi + 0xc]
add esp, 0xc
add esi, 1
test edi, edi
jne 0x433ad0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test edx, edx
mov eax, dword [esp + 0xc]
mov ecx, dword [ecx + 0xc]
jg 0x433a60
test ecx, ecx
jne 0x433a60
push eax
call fcn.0044666e
add esp, 4
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x10
ret
Function at 0x437940
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x475170
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x4a7534]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea ecx, [esp + 0x1c]
call fcn.0046da70
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.0046da70
mov eax, dword [ebp + 8]
push esi
push eax
lea edi, [esp + 0x14]
lea ebx, [esp + 0x24]
mov byte [esp + 0x40], 1
call fcn.00438250
test al, al
jne 0x4379c6
mov ecx, edi
call fcn.0046d3c0
lea ecx, [esp + 0x1c]
call fcn.0046d3c0
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x20]
push edx
push esi
lea edx, [esp + 0x18]
call fcn.00437c70
test al, al
lea ecx, [esp + 0xc]
je 0x4379a2
call fcn.0046d3c0
lea ecx, [esp + 0x1c]
call fcn.0046d3c0
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x438d70
Capabilities:
Read file on windows

Disassembly:
cmp dword [esi + 0x3c], 0
jne 0x438dc3
cmp dword [esi + 4], 0
jne 0x438dcc
call fcn.00447a33
mov dword [eax], 0
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
push eax
push 0x4000
push 1
push ecx
call fcn.00448e43
add esp, 0x10
test eax, eax
mov dword [esi + 4], eax
jne 0x438dc7
mov edx, dword [esi + 0x40]
push edx
mov dword [esi + 0x3c], 1
call fcn.00448b78
add esp, 4
test eax, eax
je 0x438dc3
mov dword [esi + 0x38], 0xffffffff
or eax, 0xffffffff
ret
mov eax, dword [esi + 0x44]
mov dword [esi], eax
mov eax, dword [esi]
add dword [esi + 4], 0xffffffff
mov cl, byte [eax]
add eax, 1
mov dword [esi], eax
movzx eax, cl
ret

Function at 0x438de0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, eax
push edi
mov edi, dword [esi + 4]
cmp edi, 2
jae 0x438e55
test edi, edi
je 0x438df9
mov eax, dword [esi]
mov ecx, dword [esi + 0x44]
mov dl, byte [eax]
mov byte [ecx], dl
call fcn.00447a33
mov dword [eax], 0
mov eax, dword [esi + 0x40]
mov ecx, edi
push eax
mov eax, dword [esi + 0x44]
mov edx, 0x4000
sar edx, cl
add eax, edi
push edx
push 1
push eax
call fcn.00448e43
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x438e3f
mov ecx, dword [esi + 0x40]
push ecx
call fcn.00448b78
add esp, 4
test eax, eax
je 0x438e3f
mov dword [esi + 0x38], 0xffffffff
add dword [esi + 4], edi
mov eax, dword [esi + 4]
cmp eax, 2
mov edx, dword [esi + 0x44]
mov dword [esi], edx
jae 0x438e55
pop edi
mov dword [esi + 0x58], eax
pop esi
ret
mov eax, dword [esi]
cmp byte [eax], 0x1f
jne 0x438f2e
cmp byte [eax + 1], 0x8b
jne 0x438f2e
add dword [esi + 4], 0xfffffffe
add eax, 2
push ebx
mov dword [esi], eax
call fcn.00438d70
mov edi, eax
call fcn.00438d70
cmp edi, 8
mov ebx, eax
jne 0x438f23
test bl, 0xe0
jne 0x438f23
mov edi, 6
lea esp, [esp]
call fcn.00438d70
sub edi, 1
jne 0x438ea0
test bl, 4
je 0x438ed3
call fcn.00438d70
mov edi, eax
call fcn.00438d70
shl eax, 8
add edi, eax
mov eax, edi
sub edi, 1
test eax, eax
je 0x438ed3
call fcn.00438d70
cmp eax, 0xffffffff
jne 0x438ec0
test bl, 8
je 0x438ee6
call fcn.00438d70
test eax, eax
je 0x438ee6
cmp eax, 0xffffffff
jne 0x438ed8
test bl, 0x10
je 0x438efe
jmp 0x438ef0
call fcn.00438d70
test eax, eax
je 0x438efe
cmp eax, 0xffffffff
jne 0x438ef0
test bl, 2
je 0x438f12
mov edi, 2
call fcn.00438d70
sub edi, 1
jne 0x438f08
mov ecx, dword [esi + 0x3c]
neg ecx
sbb ecx, ecx
pop ebx
and ecx, 0xfffffffd
pop edi
mov dword [esi + 0x38], ecx
pop esi
ret
pop ebx
pop edi
mov dword [esi + 0x38], 0xfffffffd
pop esi
ret
pop edi
mov dword [esi + 0x58], 1
pop esi
ret
Function at 0x438ff0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x4390a6
cmp byte [esi + 0x5c], 0x77
jne 0x4390a6
mov dword [esi + 4], ebx
push edi
lea esp, [esp]
mov edi, 0x4000
sub edi, dword [esi + 0x10]
je 0x43903e
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x48]
push eax
push edi
push 1
push ecx
call fcn.0044735e
add esp, 0x10
cmp eax, edi
jne 0x43909c
mov edx, dword [esi + 0x48]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], 0x4000
test ebx, ebx
jne 0x43908a
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x10]
add dword [esi + 0x68], eax
push ecx
push esi
call fcn.004396f0
mov ecx, dword [esi + 0x10]
sub dword [esi + 0x68], ecx
add esp, 8
test edi, edi
mov dword [esi + 0x38], eax
jne 0x43906b
cmp eax, 0xfffffffb
jne 0x43906b
mov dword [esi + 0x38], edi
test ecx, ecx
jne 0x439079
cmp dword [esi + 0x38], 1
je 0x439079
xor ebx, ebx
jmp 0x43907e
mov ebx, 1
mov eax, dword [esi + 0x38]
test eax, eax
je 0x439010
cmp eax, 1
je 0x439010
mov esi, dword [esi + 0x38]
mov eax, esi
sub eax, 1
neg eax
sbb eax, eax
pop edi
and eax, esi
pop esi
pop ebx
ret
or eax, 0xffffffff
pop edi
mov dword [esi + 0x38], eax
pop esi
pop ebx
ret
pop esi
mov eax, 0xfffffffe
pop ebx
ret
Function at 0x43f160
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x471520
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x4a7534]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea esi, [ecx + 0x5d8]
xor ebx, ebx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x18]
mov word [esi], bx
call fcn.00470d80
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], ebx
call fcn.0046bf10
push 1
push ebx
push 0x47f0cc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 1
call fcn.00470b60
test al, al
push ebx
lea ecx, [esp + 0x10]
je 0x43f1e8
push 0x104
push esi
push ecx
lea ecx, [esp + 0x24]
call fcn.00470d20
test al, al
jne 0x43f228
push ebx
lea ecx, [esp + 0x10]
call fcn.0046d100
lea ecx, [esp + 0xc]
call fcn.0046c290
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call fcn.0046beb0
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.004709a0
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret
push 0x481f7c
push 0x104
push esi
call fcn.00447ffc
push 0x4998f8
push 0x104
push esi
call fcn.00447ffc
add esp, 0x18
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call fcn.0046beb0
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.004709a0
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret

Function at 0x43f500
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x471580
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4a7534]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x1c]
call fcn.0046bf10
xor ebx, ebx
push 0x64
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], ebx
mov byte [esi + 0x80], bl
call fcn.00466da0
mov dword [esp + 0x14], vtable.UserManager::t_locker.0
push 0x4ab6a0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 1
call fcn.00467070
test al, al
jne 0x43f5a7
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], bl
call fcn.00466f30
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call fcn.0046beb0
or eax, 0xffffffff
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + 0x30]
call fcn.00470f00
test al, al
je 0x43f573
push ebx
lea edx, [esp + 0x20]
push edx
lea ecx, [esi + 0x1b4]
call fcn.00470f00
test al, al
je 0x43f573
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00441130
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.00466f00
push edi
mov ecx, esi
call fcn.00441170
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], bl
call fcn.00466f30
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call fcn.0046beb0
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43fa40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4715f1
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x4a7534]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.0046da70
mov eax, dword [esp + 0x30]
push eax
push 0x104
push 0x104
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 1
call fcn.0046d4c0
push eax
mov ecx, esi
call fcn.0043f900
test al, al
lea ecx, [esp + 0xc]
jne 0x43faae
call fcn.00468fc0
jmp 0x43fab3
call fcn.0046d890
mov esi, dword [esp + 0x2c]
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.0046e600
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x24], 0
call fcn.0046d3c0
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 8

Function at 0x4407b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4718c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4a7534]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
push 0x64
push 0
lea ecx, [esp + 0x18]
call fcn.00466da0
mov dword [esp + 0x10], vtable.UserManager::t_locker.0
mov edi, dword [esp + 0x28]
push 0x4ab6a0
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
call fcn.00467070
test al, al
jne 0x440834
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00466f30
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0x10
push 0
push edi
lea ecx, [esi + 0x30]
call fcn.00470f00
test al, al
je 0x44080c
push 0
push edi
lea ecx, [esi + 0x1b4]
call fcn.00470f00
test al, al
je 0x44080c
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
push edi
mov ecx, esi
call fcn.004404d0
lea ecx, [esp + 0x10]
mov bl, al
mov dword [esp + 0x20], 0xffffffff
call fcn.00466f30
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0x10
Function at 0x441750
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47190e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a7534]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00443290
xor edi, edi
mov dword [esi + 0x30], vtable.t_versionReg::t_interface.0
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi], vtable.UserAccFile.1.0
mov dword [esi + 0x30], vtable.UserAccFile.0
mov ecx, vtable.VarSimple_int__0_.1.0
mov eax, vtable.VarSimple_int__0_.0
mov dword [esp + 0x18], edi
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], edi
lea ecx, [esi + 0x54]
mov byte [esp + 0x18], 2
call fcn.00441470
mov dword [esi + 0x6c], fcn.0044674b
mov dword [esi + 0x70], fcn.00446944
mov dword [esi + 0x74], fcn.0044666e
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov byte [esi + 0x2c], 1
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x445be9
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4a7534]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00445b7e
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004498f0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x445c38
cmp dword [ebp - 0x1c], 5
jb 0x445c50
jmp 0x445c4c
cmp dword [ebp - 0x10], 1
jne 0x445c50
cmp dword [ebp - 0x1c], 4
ja 0x445c4c
jne 0x445c50
cmp dword [ebp - 0x18], 0
jbe 0x445c50
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x47fc04
call fcn.00420f80
test eax, eax
jge 0x445c71
mov byte [0x4ac758], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0044610a
add ebp, 0x78
leave
ret
Function at 0x445e23
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4abb34], 0
push esi
jne 0x445d96
call fcn.00445cc1
test eax, eax
je 0x445dd9
mov eax, dword [0x4abb34]
cmp eax, 1
jne 0x445db7
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x445dd9
pop esi
ret
push eax
call dword [0x4abb3c]
test eax, eax
jne 0x445e21
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x445ddd
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4abb34]
call dword [0x4abb3c]
mov edi, eax
test edi, edi
je 0x445e04
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x445e20
lea edi, [esi + 0xff0]
push esi
push dword [0x4abb34]
call dword [fcn.004abb38]
add esi, 0x10
cmp esi, edi
jb 0x445e0a
mov eax, esi
pop edi
pop esi
ret
jmp 0x445d83

Function at 0x44610a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a7534]
jne 0x446114
repz ret
jmp fcn.0044baf6
Function at 0x448ba7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x448be4
cmp dword [ebp + 0x14], edi
je 0x448be4
cmp ecx, edi
jne 0x448beb
call fcn.00447a33
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0044621f
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x448bff
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x448c20
cmp ebx, 0xffffffff
je 0x448c0f
push ebx
push edi
push ecx
call fcn.004498f0
add esp, 0xc
cmp esi, edi
je 0x448bcc
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x448bcc
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x448c3c
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x448c43
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x448d34
test word [esi + 0xc], 0x10c
je 0x448c97
mov eax, dword [esi + 4]
test eax, eax
je 0x448c97
jl 0x448d95
cmp ebx, eax
mov edi, ebx
jb 0x448c68
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x448d3c
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0044608f
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x448d2c
cmp ebx, dword [ebp - 0xc]
jb 0x448d04
cmp dword [ebp - 0xc], 0
je 0x448cc1
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x448cb6
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x448cbd
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x448ccc
mov eax, SysReAllocString
cmp ebx, eax
ja 0x448ccc
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x448d68
push eax
push dword [ebp - 8]
push esi
call fcn.0044e3fb
pop ecx
push eax
call fcn.004524a3
add esp, 0xc
test eax, eax
je 0x448da7
cmp eax, 0xffffffff
je 0x448d95
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x448d2c
push esi
call fcn.00451dc2
cmp eax, 0xffffffff
pop ecx
je 0x448d99
cmp dword [ebp - 4], 0
je 0x448d68
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x448c4b
mov eax, dword [ebp + 0x14]
jmp 0x448be6
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x448d53
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.004498f0
add esp, 0xc
call fcn.00447a33
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x448bdc
cmp dword [ebp + 0xc], 0xffffffff
je 0x448d7e
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004498f0
add esp, 0xc
call fcn.00447a33
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x448bdc
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x448be6
or dword [esi + 0xc], 0x10
jmp 0x448d99
Function at 0x44d5a4
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4a7728]
je 0x44d5bf
inc edi
cmp edi, 0x17
jb 0x44d5b0
cmp edi, 0x17
jae 0x44d73f
push ebp
push 3
call fcn.00456749
cmp eax, 1
pop ecx
je 0x44d70b
push 3
call fcn.00456749
test eax, eax
pop ecx
jne 0x44d5f3
cmp dword [0x4a7530], 1
je 0x44d70b
cmp ebx, 0xfc
je 0x44d73e
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4ac070
push ebp
call fcn.0044b5a5
add esp, 0xc
test eax, eax
je 0x44d629
push esi
push esi
push esi
push esi
push esi
call fcn.00446123
add esp, 0x14
push 0x104
mov esi, 0x4ac089
push esi
push 0
mov byte [0x4ac18d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x44d66d
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0044b5a5
add esp, 0xc
test eax, eax
je 0x44d66d
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00446123
add esp, 0x14
push esi
call fcn.0044b810
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x44d6b2
push esi
call fcn.0044b810
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4ac384
push 0x480304
sub ecx, eax
push ecx
push eax
call fcn.00453123
add esp, 0x14
test eax, eax
je 0x44d6b2
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00446123
add esp, 0x14
jmp 0x44d6b4
xor esi, esi
push 0x480300
push ebx
push ebp
call fcn.0044b60a
add esp, 0xc
test eax, eax
je 0x44d6d4
push esi
push esi
push esi
push esi
push esi
call fcn.00446123
add esp, 0x14
push dword [edi*8 + 0x4a772c]
push ebx
push ebp
call fcn.0044b60a
add esp, 0xc
test eax, eax
je 0x44d6f6
push esi
push esi
push esi
push esi
push esi
call fcn.00446123
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0045658c
add esp, 0xc
jmp 0x44d73e
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x44d73e
cmp ebp, 0xffffffff
je 0x44d73e
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4a772c]
push dword [esi]
call fcn.0044b810
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x45658c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0044ae9a
xor ebx, ebx
cmp dword [0x4ac72c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x456662
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x456742
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x456742
push eax
call fcn.0044ae2c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4ac72c], eax
call esi
push eax
call fcn.0044ae2c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4ac730], eax
call esi
push eax
call fcn.0044ae2c
mov dword [0x4ac734], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00447489
test eax, eax
pop ecx
pop ecx
je 0x456630
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00446123
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x456662
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0044ae2c
cmp eax, ebx
pop ecx
mov dword [0x4ac73c], eax
je 0x456662
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044ae2c
pop ecx
mov dword [0x4ac738], eax
mov eax, dword [0x4ac738]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4566e7
cmp dword [0x4ac73c], ecx
je 0x4566e7
push eax
call fcn.0044aea3
push dword [0x4ac73c]
mov esi, eax
call fcn.0044aea3
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4566e7
cmp edi, ebx
je 0x4566e7
call esi
cmp eax, ebx
je 0x4566b4
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4566b4
test byte [ebp - 0x18], 1
jne 0x4566e7
lea eax, [ebp - 0x10]
push eax
call fcn.004474c0
test eax, eax
pop ecx
je 0x4566cf
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00446123
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4566de
or dword [ebp + 0x10], 0x200000
jmp 0x456722
or dword [ebp + 0x10], 0x40000
jmp 0x456722
mov eax, dword [0x4ac730]
cmp eax, dword [ebp - 8]
je 0x456722
push eax
call fcn.0044aea3
cmp eax, ebx
pop ecx
je 0x456722
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x456722
mov eax, dword [0x4ac734]
cmp eax, dword [ebp - 8]
je 0x456722
push eax
call fcn.0044aea3
cmp eax, ebx
pop ecx
je 0x456722
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4ac72c]
call fcn.0044aea3
cmp eax, ebx
pop ecx
je 0x456742
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x456744
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret