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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x578d5a
sub esp, 0x64
mov eax, dword [esp + 0x70]
test eax, eax
jle 0x578d4f
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
xor edx, edx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x578b0e
add ebx, 0x14
mov edx, dword [esp + 0x68]
mov edx, ecx
mov ecx, dword [esp + 0x68]
mov ecx, esi
mov esi, edi
mov edi, ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], edi
lea edi, [esp + 0x50]
mov esi, ebx
call fcn.0045a51e
lea edi, [esp + 0x3c]
lea esi, [esp + 0x50]
call fcn.0045a51e
mov ecx, dword [esp + 0x68]
test ecx, ecx
jne 0x578d1e
mov esi, 1
xchg esi, eax
test al, al
xchg esi, eax
jne 0x578c5d
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
lea ecx, [edx + 1]
cmp ecx, eax
jl 0x578af7
test esi, esi
jne 0x578c2e
mov eax, dword [0xc70f40]
mov ecx, dword [0xc70f44]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x34], ecx
lea edx, [0x7f1c00]
mov dword [esp], edx
call fcn.0040ac80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [0xc83da0]
test eax, eax
jne 0x578c23
mov ecx, dword [esp + 0x34]
mov dword [edi], ecx
mov ecx, dword [esp + 0x80]
mov dword [edi + 0xc], ecx
mov ecx, dword [0xc83da0]
test ecx, ecx
jne 0x578c0d
mov eax, dword [esp + 0x7c]
mov dword [edi + 8], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea eax, [0x98a910]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edi
add esp, 0x64
ret
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x7c]
call fcn.00459d90
mov edi, edx
jmp 0x578bd4
mov eax, dword [esp + 0x34]
call fcn.00459d90
jmp 0x578bb9
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x64
ret
mov edi, esp
lea esi, [esp + 0x3c]
call fcn.0045a51e
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x20]
lea ecx, [eax + 1]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, ebp
mov ebp, dword [esp + 0x24]
cmp ecx, ebp
ja 0x578cd4
mov esi, dword [esp + 0x34]
mov edi, ecx
lea ecx, [esi + eax*8]
mov dword [ecx], ebx
lea ecx, [esi + eax*8 + 4]
mov ebx, dword [0xc83da0]
test ebx, ebx
jne 0x578cc3
mov dword [ecx], edx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
mov eax, esi
mov esi, edi
mov edi, eax
mov eax, dword [esp + 0x70]
jmp 0x578b5d
mov eax, edi
mov edi, ecx
mov ebx, eax
mov eax, edx
call fcn.00459d90
mov edi, ebx
jmp 0x578ca4
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], edx
lea edx, [0x7e9040]
mov dword [esp], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.00443b60
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
jmp 0x578c8d
mov edi, esp
lea esi, [esp + 0x50]
call fcn.0045a51e
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
movzx esi, byte [esp + 0x14]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x24]
jmp 0x578b4b
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x578b64
call fcn.00458550
jmp fcn.00578ac0