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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x566756
sub esp, 0x6c
mov eax, 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov byte [esp + 0x3b], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea eax, [0x7ea4e0]
mov dword [esp], eax
call fcn.0046fdf0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
lea edx, [0x5ffc80]
cmp ecx, edx
jne 0x566736
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebx
lea ecx, [0x65625c]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], eax
mov byte [esp + 0x3b], 1
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
xor ebx, ebx
jmp 0x5663a9
mov ebp, dword [esp + 0x44]
sub ebp, eax
sub ecx, eax
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
mov ebp, dword [esp + 0x50]
add ebp, eax
mov eax, ecx
mov ecx, esi
mov ebx, edx
mov edx, ebp
mov dword [esp + 0x3c], ebx
test eax, eax
jle 0x566603
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x70]
mov dword [esp], eax
movzx ecx, byte [esp + 0x74]
mov byte [esp + 4], cl
call fcn.00565e10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x48]
cmp ecx, eax
jg 0x5663e4
mov eax, ecx
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x5c]
cmp ebp, 5
jge 0x566428
lea eax, [0x60da40]
mov dword [esp], eax
mov dword [esp + 4], 5
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebx
call fcn.00447400
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov ebp, 5
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 5
mov dword [esp + 0x5c], ebp
movzx ebp, byte [esp + 0x74]
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
mov ebx, dword [esp + 0x70]
movzx esi, word [ebx + 0x24]
test si, si
jne 0x566455
mov esi, 0x301
jmp 0x566461
cmp si, 0x304
jne 0x566461
mov esi, 0x303
mov edi, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
cmp edi, 1
jbe 0x56672a
mov edi, esi
shr si, 8
xchg esi, eax
mov byte [ebp + 1], al
xchg esi, eax
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
cmp ebp, 2
jbe 0x56671e
xchg edi, eax
mov byte [esi + 2], al
xchg edi, eax
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
cmp ebp, 3
jbe 0x566712
mov ebp, eax
sar eax, 8
mov byte [esi + 3], al
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
cmp esi, 4
jbe 0x566706
xchg ebp, eax
mov byte [edi + 4], al
xchg ebp, eax
mov eax, dword [esp + 0x44]
cmp ebp, eax
ja 0x5666fd
mov esi, dword [ebx + 0x28]
mov edi, dword [esi]
mov esi, dword [esi + 4]
test edi, edi
jne 0x5664e6
mov edi, dword [0x7ef6a8]
mov esi, dword [0x7ef6ac]
mov dword [esp + 0x4c], esi
lea ecx, [ebx + 0x114]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x20], edx
call fcn.00562140
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], ecx
test edx, edx
jne 0x5665cd
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
call fcn.00566060
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x566597
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
add edx, eax
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jbe 0x566386
jmp 0x5666f8
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov byte [esp + 0x3b], 0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00566760
add esp, 0x6c
ret
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebp
mov byte [esp + 0x3b], 0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00566760
add esp, 0x6c
ret
movzx eax, byte [esp + 0x74]
cmp al, 0x14
jne 0x5666a2
mov eax, dword [esp + 0x70]
cmp word [eax + 0x24], 0x304
je 0x5666a2
lea ecx, [eax + 0x114]
mov dword [esp], ecx
call fcn.00561190
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
je 0x56669e
lea eax, [0x69f8c0]
cmp ecx, eax
jne 0x5666dc
movzx eax, byte [edx]
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov byte [esp + 4], al
call fcn.00565b60
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov byte [esp + 0x3b], 0
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00566760
add esp, 0x6c
ret
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov byte [esp + 0x3b], 0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00566760
add esp, 0x6c
ret
mov dword [esp], ecx
lea eax, [0x615f00]
mov dword [esp + 4], eax
lea eax, [0x613ae0]
mov dword [esp + 8], eax
call fcn.00408c00
call fcn.0045e6b0
mov ecx, ebp
mov edx, eax
call fcn.0045e690
mov eax, 4
mov ecx, esi
call fcn.0045e650
mov eax, 3
mov ecx, ebp
call fcn.0045e650
mov eax, 2
mov ecx, ebp
call fcn.0045e650
mov eax, 1
mov ecx, edi
call fcn.0045e650
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x60d140]
mov dword [esp + 8], eax
call fcn.00408b60
nop
call fcn.00432460
add esp, 0x6c
ret
call fcn.0045d190
jmp fcn.005662d0