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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x66fd26
sub esp, 0xb8
mov edx, dword [esp + 0xbc]
mov ebx, dword [edx + 0x1c]
mov ebp, dword [edx + 0x20]
mov esi, dword [edx + 0x18]
test ebx, ebx
je 0x66fcf2
mov ecx, dword [esi + 4]
mov eax, esi
mov esi, dword [esi]
cmp ecx, 2
jl 0x66fccd
cmp byte [esi], 0x2d
jne 0x66fccd
lea edi, [edx + 0x18]
cmp byte [esi + 1], 0x2d
jne 0x66fcb7
cmp ecx, 2
je 0x66fc68
mov dword [esp + 0x4c], eax
mov eax, 2
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x2c]
cmp ebp, ecx
ja 0x66fd1e
mov dword [esp + 0x28], ecx
sub ecx, ebp
mov dword [esp + 0x30], ecx
neg ecx
sar ecx, 0x1f
and ebp, ecx
mov ecx, edx
lea edx, [ebp + esi]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x30]
test edx, edx
je 0x66fbc9
mov dword [esp + 0x44], ebp
movzx ebp, byte [ebp + esi]
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
je 0x66fbc9
xchg ebp, eax
cmp al, 0x3d
xchg ebp, eax
je 0x66fbc9
dec ebx
mov dword [ecx + 0x1c], ebx
mov ebx, dword [esp + 0x48]
dec ebx
mov dword [ecx + 0x20], ebx
mov ebp, dword [0xc98a20]
neg ebx
sar ebx, 0x1f
and ebx, 8
add eax, ebx
test ebp, ebp
jne 0x66fbbf
mov dword [ecx + 0x18], eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x60], esi
mov ebx, dword [esp + 0x64]
mov eax, 1
jmp 0x66f48c
inc eax
cmp eax, edx
jge 0x66fbaa
jae 0x66fd17
movzx ebp, byte [eax + ebx]
xchg ebp, eax
cmp al, 0x3d
xchg ebp, eax
jne 0x66f48b
lea ebp, [eax + 1]
sub edx, ebp
mov dword [esp + 0x24], edx
neg edx
sar edx, 0x1f
and ebp, edx
lea edx, [ebx + ebp]
mov ebp, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], edx
xchg ebp, eax
mov byte [esp + 0x23], al
xchg ebp, eax
mov esi, dword [ecx + 0x14]
lea edi, [0x72aea0]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.0040fc90
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov eax, dword [eax]
test cl, cl
jne 0x66f60d
mov eax, dword [esp + 0x30]
cmp eax, 4
jne 0x66f600
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + ecx]
cmp ebx, 0x706c6568
jne 0x66f553
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call fcn.0066f340
mov eax, dword [0xc85e3c]
mov ecx, dword [0xc85e38]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0xb8
ret
cmp eax, 1
jne 0x66f561
movzx ecx, byte [ecx + edx]
cmp cl, 0x68
je 0x66f51b
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00408400
mov eax, dword [esp + 8]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ecx, [0x7269c0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
lea eax, [0x787692]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x22
lea eax, [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.0066f250
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xb8
ret
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x60]
jmp 0x66f553
mov dword [esp + 0x6c], eax
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
lea ebx, [0x740e60]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00408720
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
movzx edx, byte [esp + 0x14]
test dl, dl
jne 0x66fb88
xor edx, edx
test dl, dl
je 0x66f939
movzx edx, byte [esp + 0x23]
test dl, dl
je 0x66f831
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x66f733
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x66f6fa
mov eax, dword [eax + 0x10]
lea ecx, [0x72aea0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call fcn.00410020
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0xc98a20]
test eax, eax
jne 0x66f6ef
mov eax, dword [esp + 0x6c]
mov dword [edi], eax
mov byte [esp + 0xc0], 1
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xb8
ret
mov eax, dword [esp + 0x6c]
call fcn.004599b0
jmp 0x66f6ca
call fcn.0040b6d0
mov eax, dword [0xc98a20]
mov ecx, dword [esp]
test eax, eax
jne 0x66f71b
mov eax, dword [esp + 0xbc]
mov dword [eax + 0x10], ecx
jmp 0x66f68f
mov edx, dword [esp + 0xbc]
lea edi, [edx + 0x10]
mov eax, ecx
call fcn.004599b0
mov eax, edx
jmp 0x66f68f
mov dword [esp + 0x74], eax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00408400
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.00408400
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x66f77d
mov ecx, dword [ecx + 4]
mov dword [esp + 0x7c], ecx
lea edi, [esp + 0xa0]
mov edx, eax
xor eax, eax
call fcn.00459c4a
lea ecx, [0x7269c0]
mov dword [esp + 0xa0], ecx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp], ecx
lea ecx, [0x7885f1]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x24
lea ecx, [esp + 0xa0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.0066f250
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
add esp, 0xb8
ret
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
lea ecx, [0x77a889]
mov dword [esp + 4], ecx
mov dword [esp + 8], 4
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x66f681
mov dword [esp + 0x78], eax
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00408400
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x66f886
mov ecx, dword [ecx + 4]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea edx, [0x7269c0]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
lea eax, [0x783c28]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0x90]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.0066f250
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xb8
ret
movzx ecx, byte [esp + 0x23]
test cl, cl
je 0x66fb29
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
test cl, cl
je 0x66fa86
mov dword [esp + 0x24], eax
mov dword [esp + 0x5c], edx
mov ecx, dword [esp + 0x6c]
mov ebx, dword [ecx + 0x10]
mov ebp, dword [ecx + 0x14]
mov ebx, dword [ebx + 0x10]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x66f681
mov dword [esp + 0x70], eax
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00408400
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.00408400
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x66f9d2
mov ecx, dword [ecx + 4]
mov dword [esp + 0x7c], ecx
lea edi, [esp + 0xa0]
mov edx, eax
xor eax, eax
call fcn.00459c4a
lea ecx, [0x7269c0]
mov dword [esp + 0xa0], ecx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp], ecx
lea ecx, [0x786e1b]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x21
lea ecx, [esp + 0xa0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.0066f250
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
add esp, 0xb8
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00408400
mov eax, dword [esp + 8]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ecx, [0x7269c0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
lea eax, [0x783b1a]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.0066f250
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xb8
ret
mov edx, dword [esp + 0xbc]
mov ebx, dword [edx + 0x20]
mov ebp, dword [edx + 0x18]
mov esi, dword [edx + 0x1c]
test esi, esi
jle 0x66f946
mov ecx, dword [ebp + 4]
mov eax, ecx
mov ecx, dword [ebp]
dec esi
mov dword [edx + 0x1c], esi
dec ebx
mov dword [edx + 0x20], ebx
mov esi, dword [0xc98a20]
neg ebx
sar ebx, 0x1f
and ebx, 8
add ebx, ebp
test esi, esi
jne 0x66fb74
mov dword [edx + 0x18], ebx
mov edx, ecx
mov ecx, 1
jmp 0x66f94e
mov edi, dword [esp + 0x84]
mov ebp, eax
mov eax, ebx
call fcn.004599b0
mov eax, ebp
jmp 0x66fb68
mov dword [esp + 0x34], eax
mov dword [esp + 0x68], ecx
mov edx, dword [eax + 0x10]
mov dword [esp], ecx
call edx
movzx edx, byte [esp + 4]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x68]
jmp 0x66f644
mov eax, edx
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x24], eax
xor edx, edx
mov eax, dword [esp + 0x30]
jmp 0x66f4bd
call fcn.004599b0
jmp 0x66f475
mov dword [esp], esi
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.00408400
mov eax, dword [esp + 8]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ecx, [0x7269c0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
lea eax, [0x77f966]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
lea eax, [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.0066f250
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0xb8
ret
lea ecx, [ebx - 1]
mov dword [edx + 0x1c], ecx
lea ecx, [ebp - 1]
mov dword [edx + 0x20], ecx
mov ebx, dword [0xc98a20]
neg ecx
sar ecx, 0x1f
and ecx, 8
add eax, ecx
test ebx, ebx
jne 0x66fcb0
mov dword [edx + 0x18], eax
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xb8
ret
call fcn.004599b0
jmp 0x66fc8b
mov dword [esp + 0x54], eax
mov eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
jmp 0x66f3f8
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xb8
ret
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xb8
ret
mov ecx, edx
call fcn.00459a30
mov eax, ebp
call fcn.00459a90
nop
call fcn.00458170
jmp fcn.0066f380