Function at 0x408de0
Capabilities:
Get process heap flags
Get process heap force flags
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x459a19
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [esp + 0x38]
push edi
push eax
xor ebx, ebx
push ecx
push edx
mov ecx, ebp
mov byte [ebp + 0x1fc], bl
call fcn.00408d80
push 0x4738cc
push ebx
push 2
push ebx
push ebx
push 1
mov esi, dword [sym.imp.GDI32.dll_CreateFontA]
push ebx
push ebx
push ebx
push 0x2bc
push ebx
push ebx
push ebx
push 0x10
call esi
push 0x80
push ebx
push eax
lea ecx, [ebp + 0x1c0]
call fcn.00413340
push 0x4738cc
push ebx
push 2
push ebx
push ebx
push 1
push ebx
push ebx
push ebx
push 0x2bc
push ebx
push ebx
push ebx
push 0xc
call esi
push 0x80
push ebx
push eax
lea ecx, [ebp + 0x184]
call fcn.00413340
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov esi, 1
add esi, esi
cmp esi, 4
jl 0x408e8d
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
cmp edi, ebx
mov dword [esp + 0x40], edi
jne 0x408eae
push ebx
call dword [sym.imp.MSVCRT.dll_exit]
mov ecx, esi
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x14], esi
jle 0x408ee7
mov ecx, dword [esp + 0x18]
inc eax
mov dl, byte [ecx + eax - 1]
mov ecx, dword [esp + 0x40]
mov byte [eax + ecx - 1], dl
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jl 0x408ece
mov edx, dword [esp + 0x18]
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
lea ecx, [ebp + 0xf0]
push 0x473c60
lea edx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x40], ebx
call fcn.00405c40
lea esi, [ebp + 0x112]
push 0x473c50
lea eax, [esp + 0x24]
push esi
push eax
call fcn.00405c40
lea edi, [ebp + 0x134]
push 0x473c3c
lea ecx, [esp + 0x30]
push edi
push ecx
call fcn.00405c40
push 0x1dc
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x2c
mov dword [esp + 0x40], eax
cmp eax, ebx
mov byte [esp + 0x30], 1
je 0x408f71
push 0x14
push 0x3c
push 0xeb
push 0xe6
push ebp
mov ecx, eax
call fcn.00411c90
jmp 0x408f73
xor eax, eax
push esi
push eax
mov byte [esp + 0x38], bl
mov dword [ebp + 0x158], eax
call fcn.00405c70
push 0x1dc
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0xc
mov dword [esp + 0x40], eax
cmp eax, ebx
mov byte [esp + 0x30], 2
je 0x408fb6
push 0x14
push 0x3c
push 0xeb
push 0x13e
push ebp
mov ecx, eax
call fcn.00411c90
jmp 0x408fb8
xor eax, eax
push edi
push eax
mov byte [esp + 0x38], bl
mov dword [ebp + 0x15c], eax
call fcn.00405c70
add esp, 8
mov dword [esp + 0x1c], 0xed
mov dword [esp + 0x20], 0x123
mov dword [esp + 0x24], 0x157
lea edi, [esp + 0x1c]
lea esi, [ebp + 0x178]
mov dword [esp + 0x40], 3
push 0x230
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x3c], eax
cmp eax, ebx
mov byte [esp + 0x30], 3
je 0x409029
mov edx, dword [edi]
push 0x10
push 0x20
add edx, 4
push 0xbf
push edx
push ebp
mov ecx, eax
call fcn.004107b0
jmp 0x40902b
xor eax, eax
push 0x504fc4
mov ecx, eax
mov byte [esp + 0x34], bl
mov dword [esi], eax
call fcn.00410b80
mov ecx, dword [esi]
push 0xffffff
mov eax, dword [ecx]
call dword [eax + 0xb8]
mov ecx, dword [esi]
push 2
call fcn.00411bd0
mov ecx, dword [esi]
push 2
call fcn.00410bd0
mov ecx, dword [esi]
push str.0123456789
call fcn.00410960
mov eax, dword [esp + 0x40]
add edi, 4
add esi, 4
dec eax
mov dword [esp + 0x40], eax
jne 0x408ff6
push 1
mov ecx, ebp
call fcn.0040f2a0
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x409099
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc