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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x50]
cmp eax, dword [ecx + 8]
jbe 0x6662cb
sub esp, 0xd0
xor eax, eax
jmp 0x665cf6
mov eax, edx
test eax, eax
jne 0x6660c4
mov dword [esp + 0x5c], eax
call fcn.006668c0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0xd4]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00409640
mov eax, dword [esp + 8]
lea ecx, [0x6871e0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
mov edx, dword [esp + 0xdc]
mov dword [esp + 4], edx
call fcn.00409640
mov eax, dword [esp + 8]
lea ecx, [0x6871e0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [0x8b20f4]
lea edx, [0x727474]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x6c3841]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x11
lea ebx, [esp + 0x80]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call fcn.004c5ca0
mov eax, dword [esp + 0xd4]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.006664c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409640
mov eax, dword [esp + 8]
lea ecx, [0x6871e0]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov eax, dword [0x8b20f4]
lea edx, [0x727474]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x6c3cff]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x12
lea ebx, [esp + 0x78]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.004c5ca0
mov eax, dword [esp + 0xd4]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x40], edx
xor ebx, ebx
jmp 0x6661ef
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [0x6871e0]
mov dword [esp + 0x70], eax
lea ecx, [0x726b00]
mov dword [esp + 0x74], ecx
mov edx, dword [0x8b20f4]
lea ebx, [0x727474]
mov dword [esp], ebx
mov dword [esp + 4], edx
lea edx, [esp + 0x70]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c6090
call fcn.006662e0
mov eax, dword [esp]
test eax, eax
je 0x6662b1
cmp eax, 1
jl 0x665f01
mov edx, dword [esp + 0xd4]
mov ebx, dword [edx + 0x28]
mov ecx, dword [edx + 0x2c]
lea ebp, [ecx + 1]
cmp eax, ebp
jle 0x665f72
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea eax, [0x6871e0]
mov dword [esp + 0x68], eax
lea ecx, [0x726b48]
mov dword [esp + 0x6c], ecx
mov edx, dword [0x8b20f4]
lea ebx, [0x727474]
mov dword [esp], ebx
mov dword [esp + 4], edx
lea edx, [esp + 0x68]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c6090
mov dword [esp + 4], 0
mov dword [esp], 0x3b9aca00
call fcn.004626a0
mov edx, dword [esp + 0x5c]
jmp 0x665cf4
cmp eax, 1
jne 0x665fa2
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov ebx, dword [edx + 0x10]
mov ebp, dword [edx + 0x14]
mov esi, dword [edx + 0x20]
mov edi, dword [edx + 0x24]
mov dword [esp + 0x44], eax
mov eax, ebp
mov ebp, dword [esp + 0x44]
mov ebp, esi
mov esi, ecx
mov ecx, edi
mov edi, ebx
mov ebx, ebp
mov ebp, dword [esp + 0x44]
jmp 0x665ff0
lea ebp, [ecx + 2]
cmp eax, ebp
jge 0x665fe4
lea ebp, [eax - 2]
cmp ecx, ebp
jbe 0x6662c3
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*8 - 0x50]
lea ebp, [ebx + eax*8 - 0x48]
mov ebp, dword [ebp]
mov esi, dword [ecx + 0xc]
lea edi, [ebx + eax*8 - 0x40]
mov edi, dword [edi]
mov edx, dword [ecx + 0x14]
lea eax, [ebx + eax*8 - 0x30]
mov eax, dword [eax]
mov ecx, dword [ecx + 0x24]
mov ebx, eax
mov eax, edx
mov edx, dword [esp + 0xd4]
jmp 0x665ff0
xor esi, esi
xor ebp, ebp
xor eax, eax
xor edi, edi
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], edi
lea edx, [0x69e960]
mov dword [esp], edx
call fcn.0040bd00
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [0x8d9190]
test eax, eax
jne 0x666033
mov ecx, dword [esp + 0x54]
mov dword [edi], ecx
jmp 0x66603c
mov eax, dword [esp + 0x54]
call fcn.004643a0
mov dword [esp + 0x5c], edi
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x8d9190]
test ecx, ecx
jne 0x66605a
mov eax, dword [esp + 0x50]
mov dword [edi + 8], eax
jmp 0x666068
lea ecx, [edi + 8]
mov eax, dword [esp + 0x50]
mov edi, ecx
call fcn.004643a0
mov dword [esp], 0
lea eax, [0x6bfbda]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
call fcn.0044e980
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x5c]
mov dword [edx + 0x14], ecx
mov ecx, dword [0x8d9190]
test ecx, ecx
jne 0x6660b7
mov dword [edx + 0x10], eax
jmp 0x665cf4
lea edi, [edx + 0x10]
call fcn.004643a0
jmp 0x665cf4
mov dword [esp + 0xe0], eax
add esp, 0xd0
ret
mov dword [esp + 0x28], ebp
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.006664c0
mov eax, dword [esp + 8]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
lea edi, [esp + 0x90]
xor eax, eax
call fcn.0046463a
mov eax, dword [esp + 0x34]
lea ecx, [eax + 2]
mov dword [esp], ecx
call fcn.00409530
mov eax, dword [esp + 4]
lea ecx, [0x6869e0]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.00409640
mov eax, dword [esp + 8]
lea ecx, [0x6871e0]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.00409640
mov eax, dword [esp + 8]
lea ecx, [0x6871e0]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
mov eax, dword [0x8b20f4]
lea edx, [0x727474]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x6c3cc9]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x12
lea ebx, [esp + 0x90]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 3
call fcn.004c5ca0
mov eax, dword [esp + 0x64]
lea ecx, [eax + 0x28]
mov eax, dword [esp + 0x34]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xd4]
mov edx, dword [esp + 0x40]
cmp ebx, edx
jge 0x665e84
mov dword [esp + 0x34], ebx
mov dword [esp + 0x64], ecx
lea edi, [esp + 0xa8]
mov esi, ecx
call fcn.00464aec
mov ecx, dword [esp + 0xa8]
mov ebp, dword [esp + 0xac]
cmp ebp, 5
jne 0x6660d2
cmp byte [ecx], 0x6a
jg 0x66626d
cmp dword [ecx], 0x752d6e65
jne 0x666247
cmp byte [ecx + 4], 0x73
jne 0x666247
mov ebp, 7
lea ecx, [0x6c02ed]
jmp 0x6660d2
cmp dword [ecx], 0x6a2d616a
jne 0x6660d2
cmp byte [ecx + 4], 0x70
jne 0x6660d2
mov ebp, 8
lea ecx, [0x6c071e]
jmp 0x6660d2
cmp dword [ecx], 0x6b2d6f6b
jne 0x66628b
cmp byte [ecx + 4], 0x72
jne 0x66628b
mov ebp, 6
lea ecx, [0x6bffcc]
jmp 0x6660d2
cmp dword [ecx], 0x632d687a
jne 0x6660d2
cmp byte [ecx + 4], 0x6e
jne 0x6660d2
mov ebp, 7
lea ecx, [0x6c02ae]
jmp 0x6660d2
mov dword [esp + 0xe0], 0
add esp, 0xd0
ret
mov eax, ebp
call fcn.00464420
nop
call fcn.00462f90
jmp fcn.00665cd0