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

Disassembly:
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5f6b50
sub esp, 0x6c
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0x3c]
mov ebx, dword [ecx + 0x17c]
mov ebp, dword [ecx + 0x178]
mov esi, dword [ecx + 0x180]
mov edi, dword [eax + 0x40]
mov ecx, dword [eax + 0x44]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
call fcn.00619020
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x50], edx
lea ebx, [0x66fe60]
mov dword [esp], ebx
call fcn.0040c260
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x85d680]
test ecx, ecx
jne 0x5f68c0
mov ecx, dword [esp + 0x50]
jmp 0x5f68cb
call fcn.00468030
mov ecx, dword [esp + 0x50]
mov dword [edi], ecx
mov dword [esp + 0x38], eax
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
mov dword [esp + 0x4c], edx
mov ebx, dword [ecx + 0x40]
mov ebp, dword [ecx + 0x44]
mov dword [esp + 0x48], ebp
lea esi, [0x668da0]
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.00409bb0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
lea ecx, [0x6f237c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
call fcn.005e83b0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5f6b3c
mov eax, dword [esp + 0x3c]
lea ecx, [eax + 0x128]
mov edx, dword [esp + 0x70]
mov ebx, dword [edx + 0x3c]
mov ebp, dword [edx + 0x54]
mov esi, dword [edx + 0x58]
mov edi, dword [edx + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], 3
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call fcn.005e25f0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x2c]
movzx edx, byte [ecx + 0x61]
test dl, dl
jne 0x5f6a0f
mov ecx, dword [ecx + 0x84]
test ecx, ecx
je 0x5f6a0f
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x48]
mov ebx, dword [eax + 0x4c]
mov ebp, dword [eax + 0x50]
mov esi, dword [eax + 0x40]
mov edi, dword [eax + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
lea ecx, [0x691fd3]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0xa
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
call fcn.00618bf0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x3c]
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], ecx
mov eax, dword [0x85d680]
test eax, eax
je 0x5f6a07
call fcn.00468040
mov dword [edi], edx
mov ecx, dword [ebx + 0x84]
mov dword [edi + 4], ecx
mov dword [ebx + 0x84], edx
mov eax, ebx
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5f6b28
mov ecx, dword [eax + 0x1b4]
cmp dword [eax + 0x1bc], ecx
je 0x5f6a39
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005e74d0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x3c]
movzx edx, word [edx]
mov ebx, dword [ecx + 0x54]
mov ebp, dword [ecx + 0x58]
mov ecx, dword [ecx + 0x5c]
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x54]
mov esi, eax
xor eax, eax
call fcn.0046827a
mov dword [esp + 0x54], 2
mov dword [esp + 0x58], 3
mov word [esp + 0x68], dx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebp
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x64], ecx
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
inc ebx
mov ebp, dword [ecx]
cmp edx, ebx
jae 0x5f6ae9
mov dword [esp + 0x44], ecx
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x678d60]
mov dword [esp + 0x10], eax
call fcn.0044d800
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x44]
mov dword [ebx + 8], eax
mov eax, dword [0x85d680]
test eax, eax
je 0x5f6ae1
call fcn.00468040
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov ebp, ecx
mov ecx, ebx
mov ebx, edx
mov dword [ecx + 4], ebx
mov eax, dword [0x85d680]
lea ecx, [ebx + ebx*2]
lea edi, [ebp + ecx*8 - 0x18]
test eax, eax
je 0x5f6b1f
mov dword [esp + 0x40], edi
lea eax, [0x678d60]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
call fcn.00411200
mov edi, dword [esp + 0x40]
lea esi, [esp + 0x54]
call fcn.00468754
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x6c
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x6c
ret
call fcn.00466c30
jmp fcn.005f6820