joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4152b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44fadf
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebp
push esi
push edi
mov eax, dword [0x46b070]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x3c]
xor ebp, ebp
mov dword [edi], vtable.CHVMEEHlpr.0
mov dword [edi + 0x58], ebp
mov dword [edi + 0x5c], ebp
mov dword [edi + 0x60], ebp
mov dword [esp + 0x34], ebp
mov dword [edi + 0x84], ebp
mov dword [edi + 0x88], ebp
mov dword [edi + 0x8c], ebp
mov byte [esp + 0x34], 1
lea eax, [edi + 0x9c]
push eax
call fcn.00402de0
mov byte [esp + 0x34], 2
lea ecx, [edi + 0xa0]
push ecx
call fcn.00417c50
mov byte [esp + 0x34], 3
lea edx, [edi + 0xac]
push edx
call fcn.004349f0
mov byte [esp + 0x34], 4
lea eax, [edi + 0x1bc]
push eax
call fcn.00417c50
mov byte [esp + 0x34], 5
mov eax, 5
mov esi, 1
push 0x88
mov dword [edi + 0x48], ebp
mov dword [edi + 0x4c], ebp
mov dword [edi + 0x20], ebp
mov dword [edi + 4], ebp
mov dword [edi + 0x50], ebp
mov dword [edi + 0x44], ebp
mov dword [edi + 0x1b8], ebp
mov dword [edi + 0x1b4], ebp
mov dword [edi + 0x1cc], ebp
mov dword [edi + 0x1d0], ebp
mov dword [edi + 0x10], ebp
mov dword [edi + 0x18], ebp
mov dword [edi + 0x1c8], ebp
mov dword [edi + 0x40], ebp
mov dword [edi + 0x1d4], ebx
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x28], 0x13
mov dword [esp + 0x2c], 0x16
mov dword [edi + 0x134], 0x3000000
mov dword [edi + 0x138], 0x5000000
mov dword [edi + 0x13c], 0x7000000
mov dword [edi + 0x140], 0x13000000
mov dword [edi + 0x144], 0x16000000
mov dword [edi + 0x148], eax
mov dword [edi + 0x14c], esi
mov dword [edi + 0x150], esi
mov dword [edi + 0x160], ebp
mov dword [edi + 0x1a8], ebp
mov dword [edi + 0x164], ebp
mov dword [edi + 0x154], ebp
mov dword [edi + 0x1a0], ebp
mov dword [edi + 0x6c], ebp
mov dword [edi + 0x78], ebp
mov dword [edi + 0x70], ebp
mov dword [edi + 0x68], ebp
mov dword [edi + 0x24], ebp
mov dword [edi + 0x28], ebp
call fcn.0043af07
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x34], 6
cmp eax, ebp
je 0x415453
mov esi, eax
call fcn.00414f10
mov edx, eax
lea esi, [ebp + 1]
jmp 0x415455
xor edx, edx
mov byte [esp + 0x34], 5
mov eax, ebx
mov dword [edi + 0xc], edx
call fcn.00414fa0
mov ecx, dword [edi + 0xc]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x7c], esi
mov dword [edi + 0x64], ebp
mov dword [edi + 0x1ac], ebp
mov dword [edi + 0x1b0], ebp
mov dword [edi + 0x98], ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edx, [esp + 0x18]
xor eax, edx
mov ecx, eax
shl ecx, 6
mov dword [edi + 0x30], eax
sub ecx, eax
mov eax, dword [0x5a1934]
mov dword [edi + 0x38], ecx
mov edx, dword [eax + 0x20]
xor edx, ecx
mov dword [edi + 0x38], edx
mov dword [esp + 0x34], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4
Function at 0x4195c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44d8a6
mov eax, dword fs:[0]
push eax
mov eax, dword [0x46b070]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [eax], vtable.IJitCallBack.0
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov dword [esp + 0xc], ecx
mov dword [eax + 0x7c], ecx
mov dword [eax + 0x80], ecx
mov dword [eax + 0x60], ecx
mov dword [eax + 0x54], ecx
mov dword [eax + 0x64], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], ecx
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], ecx
mov dword [eax + 0x78], ecx
mov byte [esp + 0xc], 1
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 4], ecx
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4

Function at 0x42b1c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45064d
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x46b070]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [0x46b070]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov edi, ecx
push 0x45a944
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], eax
jmp fcn.006a3302

Function at 0x42b640
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44fca5
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x46b070]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.004195c0
xor edi, edi
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x30]
mov dword [esi], vtable.NetFX45::CNetFX4xCallBack.0
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], ebx
mov dword [esi + 0x94], edi
mov byte [esp + 0x14], 1
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov eax, dword [0x5a1a08]
mov dword [esi + 0xa8], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x98], ecx
mov ecx, dword [eax + 0x3c]
add ecx, dword [eax + 0x34]
mov eax, dword [0x5a10cc]
mov dword [esi + 0x9c], ecx
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 8], ebx
mov ecx, dword [esi + 0x94]
cmp ecx, edi
mov dword [esi + 0x8c], edx
mov dword [esi + 0x90], eax
je 0x42b6f4
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0x94], edi
mov ecx, dword [esp + 0x28]
mov dword [esi + 0xac], ecx
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x18
Function at 0x4349f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x44f6ac
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x46b070]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
push esi
call fcn.00417c50
mov dword [esp + 0x10], 0
lea eax, [esi + 0xc]
push eax
call fcn.00417c50
mov byte [esp + 0x10], 1
lea ecx, [esi + 0x18]
push ecx
call fcn.00417c50
mov byte [esp + 0x10], 2
lea edx, [esi + 0x24]
push edx
call fcn.00417c50
mov byte [esp + 0x10], 3
lea eax, [esi + 0x30]
push eax
call fcn.00417c50
mov byte [esp + 0x10], 4
lea ecx, [esi + 0x3c]
push ecx
call fcn.00417c50
mov byte [esp + 0x10], 5
lea edx, [esi + 0x48]
push edx
call fcn.00417c50
mov byte [esp + 0x10], 6
lea eax, [esi + 0x54]
push eax
call fcn.00417c50
mov byte [esp + 0x10], 7
lea ecx, [esi + 0x60]
push ecx
call fcn.00417c50
mov byte [esp + 0x10], 8
lea edx, [esi + 0x6c]
push edx
call fcn.00417c50
mov byte [esp + 0x10], 9
lea eax, [esi + 0x7c]
push eax
call fcn.00417c50
mov byte [esp + 0x10], 0xa
mov dword [esi + 0x78], 1
mov dword [esp + 0x10], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4

Function at 0x434ae0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x44f604
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x46b070]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov ecx, 9
mov dword [esp + 0x14], ecx
lea eax, [esi + 0x7c]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.00417eb0
mov cl, 8
mov byte [esp + 0x14], cl
lea eax, [esi + 0x6c]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.00417eb0
mov cl, 7
mov byte [esp + 0x14], cl
lea eax, [esi + 0x60]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.00417eb0
mov cl, 6
mov byte [esp + 0x14], cl
lea eax, [esi + 0x54]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.00417eb0
mov cl, 5
mov byte [esp + 0x14], cl
lea eax, [esi + 0x48]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.00417eb0
mov cl, 4
mov byte [esp + 0x14], cl
lea eax, [esi + 0x3c]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.00417eb0
mov cl, 3
mov byte [esp + 0x14], cl
lea eax, [esi + 0x30]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.00417eb0
mov cl, 2
mov byte [esp + 0x14], cl
lea eax, [esi + 0x24]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.00417eb0
mov cl, 1
mov byte [esp + 0x14], cl
lea eax, [esi + 0x18]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.00417eb0
xor cl, cl
mov byte [esp + 0x14], cl
lea eax, [esi + 0xc]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.00417eb0
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
call fcn.00417eb0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x4361a0
Capabilities:
Parse pe header

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, ecx
push 0x40
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x4361c0
pop edi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
cmp word [edi], 0x5a4d
jne 0x4361b9
push esi
mov esi, dword [edi + 0x3c]
push 4
add esi, edi
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x436293
cmp dword [esi], 0x4550
jne 0x436293
mov dword [ebp], eax
mov dword [ebx], eax
cmp word [esi + 0x18], 0x20b
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x10], eax
jne 0x43620e
mov eax, dword [esi + 0xf8]
mov dword [esp + 0x10], 1
jmp 0x436214
mov eax, dword [esi + 0xe8]
test eax, eax
mov dword [ebp], ecx
mov edx, dword [esi + 8]
mov dword [ebx], edx
je 0x436293
cmp dword [esp + 0x18], 0
lea ebx, [eax + edi]
jne 0x436245
cmp dword [esp + 0x10], 0
push edi
mov ecx, esi
je 0x43623b
call fcn.004126c0
jmp 0x436240
call fcn.004126c0
mov ebx, eax
add esp, 4
push 0x48
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x436293
mov eax, dword [ebx + 8]
sub eax, 0x10
cmp dword [esp + 0x18], 0
lea ebp, [eax + edi]
jne 0x43627d
cmp dword [esp + 0x10], 0
push edi
mov ecx, esi
je 0x436273
call fcn.004126c0
jmp 0x436278
call fcn.004126c0
mov ebp, eax
add esp, 4
push 0x10
push ebp
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x436293
cmp dword [ebp], 0x424a5342
je 0x43629b
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x1c]
mov esi, 1
xor edi, edi
add ecx, esi
lea ebx, [esi + 0x1b]
jmp 0x4362b0
movzx eax, byte [ecx - 1]
add eax, esi
xor edx, edx
mov esi, 0xfff1
div esi
add ecx, 4
mov esi, edx
lea eax, [edi + esi]
xor edx, edx
mov edi, 0xfff1
div edi
movzx eax, byte [ecx - 4]
add eax, esi
mov esi, 0xfff1
mov edi, edx
xor edx, edx
div esi
mov esi, edx
lea eax, [edi + esi]
xor edx, edx
mov edi, 0xfff1
div edi
movzx eax, byte [ecx - 3]
add eax, esi
mov esi, 0xfff1
mov edi, edx
xor edx, edx
div esi
mov esi, edx
lea eax, [edi + esi]
xor edx, edx
mov edi, 0xfff1
div edi
movzx eax, byte [ecx - 2]
add eax, esi
mov esi, 0xfff1
mov edi, edx
xor edx, edx
div esi
mov esi, edx
lea eax, [edi + esi]
xor edx, edx
mov edi, 0xfff1
div edi
sub ebx, 1
mov edi, edx
jne 0x4362b0
mov eax, edi
shl eax, 0x10
add eax, esi
sub eax, dword [ebp + 0xc]
pop esi
neg eax
sbb eax, eax
not eax
pop edi
and eax, ebp
pop ebp
pop ebx
pop ecx
ret
Function at 0x436350
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x49c]
sub esp, 0x49c
push 0xffffffffffffffff
push 0x44fe73
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x46b070]
xor eax, ebp
mov dword [ebp + 0x498], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x4a4]
mov dword [ebp - 0x58], eax
mov eax, dword [0x5a1934]
add eax, 0x9c
mov dword [ebp - 0x3c], eax
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x38], 1
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x4a8]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x28], eax
mov esi, dword [0x5a1934]
add esi, 0x64
lea ebx, [ebp - 0x4c]
lea eax, [ebp + 0x480]
call fcn.00437980
mov ebx, dword [esi + 4]
mov edi, dword [ebp + 0x480]
test edi, edi
je 0x4363ec
cmp edi, esi
je 0x4363f1
call fcn.0043b09b
mov esi, dword [ebp + 0x484]
cmp esi, ebx
je 0x43640e
test edi, edi
jne 0x436404
call fcn.0043b09b
cmp esi, dword [edi + 4]
jne 0x43640e
call fcn.0043b09b
mov byte [ebp - 4], 1
push 0x45f0a8
jmp 0x5f1959

Function at 0x436f30
Capabilities:
Packed with generic packer

Disassembly:
push ebp
lea ebp, [esp - 0x250c4]
mov eax, 0x250c4
call fcn.0043dde0
push 0xffffffffffffffff
push 0x44f4ee
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x46b070]
xor eax, ebp
mov dword [ebp + 0x250c0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], esi
push 0x45f1f4
pushfd
call fcn.00649f85
sbb byte [eax - 0x54da2ea8], 0x1b
stosb byte es:[edi], al
xchg edi, ebx
movsd dword es:[edi], dword [esi]
invalid

Function at 0x437e00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44fe28
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x46b070]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [0x5a1934]
lea edi, [esi + 0x9c]
push edi
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x18], 1
mov dword [esp + 0x38], 0
add esi, 0x64
lea ebx, [ebp + 8]
lea eax, [esp + 0x1c]
call fcn.00437980
mov ebx, dword [esp + 0x1c]
test ebx, ebx
mov eax, dword [esi + 4]
mov dword [esp + 0x28], eax
je 0x437e75
cmp ebx, esi
je 0x437e7a
call fcn.0043b09b
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x28]
jne 0x437e97
mov dword [esp + 0x38], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x437ec2
test ebx, ebx
jne 0x437ea0
call fcn.0043b09b
cmp esi, dword [ebx + 4]
jne 0x437eaa
call fcn.0043b09b
mov esi, dword [esi + 0x10]
test esi, esi
je 0x437e84
mov dword [esp + 0x38], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x439c67
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x46b070]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00439ba6
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.0043d8c0
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 0x439cb6
cmp dword [ebp - 0x1c], 5
jb 0x439cce
jmp 0x439cca
cmp dword [ebp - 0x10], 1
jne 0x439cce
cmp dword [ebp - 0x1c], 4
ja 0x439cca
jne 0x439cce
cmp dword [ebp - 0x18], 0
jbe 0x439cce
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x452538
call fcn.00439a59
test eax, eax
jge 0x439cef
mov byte [0x5a1a38], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043a9a6
add ebp, 0x78
leave
ret

Function at 0x43a9a6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46b070]
jne 0x43a9b0
repz ret
jmp fcn.0043f88c
Function at 0x43c6a5
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 0x43c6e2
cmp dword [ebp + 0x14], edi
je 0x43c6e2
cmp ecx, edi
jne 0x43c6e9
call fcn.0043dd90
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0043b077
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x43c6fd
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x43c71e
cmp ebx, 0xffffffff
je 0x43c70d
push ebx
push edi
push ecx
call fcn.0043d8c0
add esp, 0xc
cmp esi, edi
je 0x43c6ca
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x43c6ca
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x43c73a
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x43c741
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x43c832
test word [esi + 0xc], 0x10c
je 0x43c795
mov eax, dword [esi + 4]
test eax, eax
je 0x43c795
jl 0x43c893
cmp ebx, eax
mov edi, ebx
jb 0x43c766
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x43c83a
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0043a465
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 0x43c82a
cmp ebx, dword [ebp - 0xc]
jb 0x43c802
cmp dword [ebp - 0xc], 0
je 0x43c7bf
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x43c7b4
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x43c7bb
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x43c7ca
mov eax, SysReAllocString
cmp ebx, eax
ja 0x43c7ca
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x43c866
push eax
push dword [ebp - 8]
push esi
call fcn.004437da
pop ecx
push eax
call fcn.00444711
add esp, 0xc
test eax, eax
je 0x43c8a5
cmp eax, 0xffffffff
je 0x43c893
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x43c82a
push esi
call fcn.00443807
cmp eax, 0xffffffff
pop ecx
je 0x43c897
cmp dword [ebp - 4], 0
je 0x43c866
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 0x43c749
mov eax, dword [ebp + 0x14]
jmp 0x43c6e4
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x43c851
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0043d8c0
add esp, 0xc
call fcn.0043dd90
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x43c6da
cmp dword [ebp + 0xc], 0xffffffff
je 0x43c87c
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0043d8c0
add esp, 0xc
call fcn.0043dd90
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x43c6da
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x43c6e4
or dword [esi + 0xc], 0x10
jmp 0x43c897
Function at 0x43ec63
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 + 0x46b338]
je 0x43ec7e
inc edi
cmp edi, 0x17
jb 0x43ec6f
cmp edi, 0x17
jae 0x43edfe
push ebp
push 3
call fcn.00446dbe
cmp eax, 1
pop ecx
je 0x43edca
push 3
call fcn.00446dbe
test eax, eax
pop ecx
jne 0x43ecb2
cmp dword [0x46b060], 1
je 0x43edca
cmp ebx, 0xfc
je 0x43edfd
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x59fef8
push ebp
call fcn.0043ac56
add esp, 0xc
test eax, eax
je 0x43ece8
push esi
push esi
push esi
push esi
push esi
call fcn.0043af7b
add esp, 0x14
push 0x104
mov esi, 0x59ff11
push esi
push 0
mov byte [0x5a0015], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43ed2c
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0043ac56
add esp, 0xc
test eax, eax
je 0x43ed2c
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043af7b
add esp, 0x14
push esi
call fcn.0043d1b0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43ed71
push esi
call fcn.0043d1b0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x5a020c
push 0x452bdc
sub ecx, eax
push ecx
push eax
call fcn.00446d0b
add esp, 0x14
test eax, eax
je 0x43ed71
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043af7b
add esp, 0x14
jmp 0x43ed73
xor esi, esi
push 0x452bd8
push ebx
push ebp
call fcn.0043ceab
add esp, 0xc
test eax, eax
je 0x43ed93
push esi
push esi
push esi
push esi
push esi
call fcn.0043af7b
add esp, 0x14
push dword [edi*8 + 0x46b33c]
push ebx
push ebp
call fcn.0043ceab
add esp, 0xc
test eax, eax
je 0x43edb5
push esi
push esi
push esi
push esi
push esi
call fcn.0043af7b
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00446b4e
add esp, 0xc
jmp 0x43edfd
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x43edfd
cmp ebp, 0xffffffff
je 0x43edfd
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x46b33c]
push dword [esi]
call fcn.0043d1b0
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 0x446b4e
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043ef42
xor ebx, ebx
cmp dword [0x5a08d8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x446c24
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x446d04
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4536d4
push edi
call esi
cmp eax, ebx
je 0x446d04
push eax
call fcn.0043eed4
mov dword [esp], 0x4536c4
push edi
mov dword [0x5a08d8], eax
call esi
push eax
call fcn.0043eed4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x5a08dc], eax
call esi
push eax
call fcn.0043eed4
mov dword [0x5a08e0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043bdb7
test eax, eax
pop ecx
pop ecx
je 0x446bf2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043af7b
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x446c24
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043eed4
cmp eax, ebx
pop ecx
mov dword [0x5a08e8], eax
je 0x446c24
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043eed4
pop ecx
mov dword [0x5a08e4], eax
mov eax, dword [0x5a08e4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x446ca9
cmp dword [0x5a08e8], ecx
je 0x446ca9
push eax
call fcn.0043ef4b
push dword [0x5a08e8]
mov esi, eax
call fcn.0043ef4b
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x446ca9
cmp edi, ebx
je 0x446ca9
call esi
cmp eax, ebx
je 0x446c76
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x446c76
test byte [ebp - 0x18], 1
jne 0x446ca9
lea eax, [ebp - 0x10]
push eax
call fcn.0043bdee
test eax, eax
pop ecx
je 0x446c91
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043af7b
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x446ca0
or dword [ebp + 0x10], 0x200000
jmp 0x446ce4
or dword [ebp + 0x10], 0x40000
jmp 0x446ce4
mov eax, dword [0x5a08dc]
cmp eax, dword [ebp - 8]
je 0x446ce4
push eax
call fcn.0043ef4b
cmp eax, ebx
pop ecx
je 0x446ce4
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x446ce4
mov eax, dword [0x5a08e0]
cmp eax, dword [ebp - 8]
je 0x446ce4
push eax
call fcn.0043ef4b
cmp eax, ebx
pop ecx
je 0x446ce4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5a08d8]
call fcn.0043ef4b
cmp eax, ebx
pop ecx
je 0x446d04
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x446d06
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret