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

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x579448
sub esp, 0x68
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 0xc], edx
call fcn.00577fc0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
movzx ebp, byte [ecx]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x60], esi
mov edi, dword [eax + 4]
mov dword [esp + 0x5c], edi
mov esi, dword [ecx + 4]
mov edi, dword [esp + 0x6c]
mov ecx, dword [edi + 4]
mov dword [esp + 0x58], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x40], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x38], ecx
movzx eax, byte [eax]
movzx ecx, byte [edi]
xchg ebp, eax
mov byte [edi], al
xchg ebp, eax
mov dword [edi + 8], edx
mov dword [edi + 0xc], ebx
mov edx, dword [0x98d0b8]
test edx, edx
je 0x579157
mov edx, edi
call fcn.00471ac0
mov dword [edi], esi
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov edi, edx
mov dword [edi + 4], esi
mov edx, dword [esp + 0x70]
mov byte [edx], al
mov eax, dword [esp + 0x40]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x38]
mov dword [edx + 0xc], eax
mov eax, dword [0x98d0b8]
test eax, eax
jne 0x57917e
mov eax, dword [esp + 0x5c]
jmp 0x57918f
call fcn.00471ac0
mov eax, dword [esp + 0x5c]
mov dword [edi], eax
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov dword [edx + 4], eax
mov eax, dword [esp + 0x64]
mov byte [eax], cl
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x98d0b8]
test ecx, ecx
jne 0x5791b6
mov ecx, dword [esp + 0x58]
jmp 0x5791c7
call fcn.00471ac0
mov ecx, dword [esp + 0x58]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov dword [eax + 4], ecx
movzx eax, byte [esp + 0x8c]
test al, al
je 0x579444
nop
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x78]
cmp eax, ecx
je 0x5792f2
mov edx, dword [eax + 0xc]
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
cmp edx, ebx
jl 0x579205
mov esi, dword [eax + 4]
mov edi, ebx
jmp 0x57928d
mov dword [esp + 0x34], ebx
mov dword [esp + 0x54], ebp
cmp ebx, 1
jne 0x579253
lea eax, [0x6e11e0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0046ca20
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0x54]
mov edi, dword [esp + 0x34]
mov ebx, 1
mov edx, 1
jmp 0x57928d
lea eax, [0x6e11e0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea ecx, [ebx + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 8], ecx
call fcn.0046ca20
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0x54]
mov edi, dword [esp + 0x34]
mov ebx, edi
mov edx, dword [esp + 0x1c]
cmp ebx, edi
jg 0x579293
mov edi, ebx
cmp esi, ebp
je 0x5792cd
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x4c], esi
mov dword [esp], esi
mov dword [esp + 4], ebp
shl edi, 2
mov dword [esp + 8], edi
call fcn.00472440
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x4c]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov edx, dword [0x98d0b8]
test edx, edx
je 0x5792ea
call fcn.00471ac0
mov dword [edi], esi
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov dword [eax + 4], esi
movzx edx, byte [ecx]
mov byte [eax], dl
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 8], edx
call fcn.00577e70
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 8], ecx
call fcn.00577c20
nop
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x74]
cmp eax, ecx
je 0x579444
mov edx, dword [ecx + 0xc]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 4]
cmp edx, ebx
jl 0x579357
mov esi, dword [ecx + 4]
mov edi, ebx
jmp 0x5793df
mov dword [esp + 0x30], ebx
mov dword [esp + 0x50], ebp
cmp ebx, 1
jne 0x5793a5
lea eax, [0x6e11e0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0046ca20
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x30]
mov ebx, 1
mov edx, 1
jmp 0x5793df
lea eax, [0x6e11e0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [ebx + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 8], eax
call fcn.0046ca20
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x30]
mov ebx, edi
mov edx, dword [esp + 0x18]
cmp ebx, edi
jg 0x5793e5
mov edi, ebx
cmp esi, ebp
je 0x57941f
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x48], esi
mov dword [esp], esi
mov dword [esp + 4], ebp
shl edi, 2
mov dword [esp + 8], edi
call fcn.00472440
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x48]
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edx
mov edx, dword [0x98d0b8]
test edx, edx
je 0x57943c
call fcn.00471ac0
mov dword [edi], esi
mov edx, dword [ecx + 4]
mov dword [edi + 4], edx
mov dword [ecx + 4], esi
movzx eax, byte [eax]
mov byte [ecx], al
add esp, 0x68
ret
call fcn.004706b0
jmp fcn.005790a0