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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x404a80
sub esp, 0x70
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
call fcn.004044e0
mov eax, dword [esp + 0x78]
xor ecx, ecx
jmp 0x404792
mov dword [esp + 0x3c], edi
mov eax, edx
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x78]
mov dword [edi + ecx*4], edx
mov dword [edi + ecx*4 + 0x10], ebx
mov dword [edi + ecx*4 + 0x20], ebp
mov dword [edi + ecx*4 + 0x30], esi
mov edx, dword [esp + 0x3c]
add dword [edi + ecx*4 + 0x40], edx
mov edx, dword [esp + 0x38]
add dword [edi + ecx*4 + 0x50], edx
mov edx, dword [esp + 0x34]
add dword [edi + ecx*4 + 0x60], edx
mov edx, dword [esp + 0x30]
add dword [edi + ecx*4 + 0x70], edx
mov edx, dword [esp + 0x2c]
add dword [edi + ecx*4 + 0x80], edx
mov edx, dword [esp + 0x28]
add dword [edi + ecx*4 + 0x90], edx
mov edx, dword [esp + 0x5c]
add dword [edi + ecx*4 + 0xa0], edx
mov edx, dword [esp + 0x58]
add dword [edi + ecx*4 + 0xb0], edx
mov edx, dword [esp + 0x54]
mov dword [edi + ecx*4 + 0xc0], edx
mov edx, dword [esp + 0x50]
mov dword [edi + ecx*4 + 0xd0], edx
mov dword [edi + ecx*4 + 0xe0], eax
mov edx, dword [esp + 0x48]
mov dword [edi + ecx*4 + 0xf0], edx
inc ecx
mov eax, edi
cmp ecx, 4
jge 0x404833
mov dword [esp + 0x24], ecx
test byte [eax], al
mov edx, dword [eax + ecx*4]
mov dword [esp + 0x64], edx
mov ebx, dword [eax + ecx*4 + 0x10]
mov ebp, dword [eax + ecx*4 + 0x20]
mov esi, dword [eax + ecx*4 + 0x30]
mov edi, dword [eax + ecx*4 + 0x40]
mov edx, dword [eax + ecx*4 + 0x50]
mov dword [esp + 0x38], edx
mov edx, dword [eax + ecx*4 + 0x60]
mov dword [esp + 0x34], edx
mov edx, dword [eax + ecx*4 + 0x70]
mov dword [esp + 0x30], edx
mov edx, dword [eax + ecx*4 + 0x80]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + ecx*4 + 0x90]
mov dword [esp + 0x28], edx
mov edx, dword [eax + ecx*4 + 0xa0]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + ecx*4 + 0xb0]
mov dword [esp + 0x58], edx
mov edx, dword [eax + ecx*4 + 0xc0]
mov dword [esp + 0x54], edx
mov edx, dword [eax + ecx*4 + 0xd0]
mov dword [esp + 0x50], edx
mov edx, dword [eax + ecx*4 + 0xe0]
mov eax, dword [eax + ecx*4 + 0xf0]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x68]
jmp 0x404a6a
add esp, 0x70
ret
mov dword [esp + 0x4c], edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], edi
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
call fcn.00404a90
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0x60]
mov dword [esp], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x50]
mov dword [esp + 0xc], ebp
call fcn.00404a90
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x50], ebx
mov ebp, dword [esp + 0x44]
mov dword [esp], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0xc], ebp
call fcn.00404a90
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ebx
mov ebp, dword [esp + 0x40]
mov dword [esp], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0xc], ebp
call fcn.00404a90
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x64]
mov dword [esp], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
call fcn.00404a90
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x5c], ebx
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x48], ebp
mov esi, dword [esp + 0x60]
mov dword [esp], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x58]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x54]
mov dword [esp + 0xc], esi
call fcn.00404a90
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0x44]
mov dword [esp], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x50]
mov dword [esp + 0xc], ebp
call fcn.00404a90
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x50], ebx
mov ebp, dword [esp + 0x40]
mov dword [esp], ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0xc], ebp
call fcn.00404a90
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x28], edx
mov edx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
cmp eax, 4
jl 0x404837
jmp 0x4046fe
call fcn.00475ee0
jmp 0x4046c0
jmp 0x4046c0