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

Disassembly:
mov ecx, dword [0x98d270]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x670320
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x254]
lea edx, [0x6c0de0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 6
call fcn.0040eeb0
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x48], eax
lea ecx, [0x6ead20]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044e050
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x64]
xor ebp, ebp
xor esi, esi
jmp 0x66fee9
mov edi, dword [esp + 0x1c]
mov eax, edi
mov edi, dword [esp + 0x38]
inc edi
lea ebx, [eax + ecx + 8]
lea esi, [eax + ebp + 8]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x58]
mov ebp, edi
cmp ebp, edx
jge 0x6702bc
mov dword [esp + 0x30], esi
mov edi, dword [ecx + 0x2ac]
add edi, 0xfffffffc
cmp ebx, edi
jbe 0x66ff16
mov edi, dword [0x95da80]
mov esi, dword [0x95da84]
mov dword [esp + 0x54], esi
xor esi, esi
jmp 0x66ff55
mov edi, dword [ecx + 0x28c]
cmp ebx, edi
ja 0x670316
mov esi, dword [ecx + 0x290]
sub edi, ebx
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebx
cmp edi, 3
jbe 0x67030a
mov edi, dword [ecx + 0x288]
mov esi, dword [edi + esi]
xor edi, edi
xor edi, edi
mov dword [esp + 0x54], edi
xor edi, edi
mov dword [esp + 0x38], ebp
lea ebp, [ebp + ebp*4]
mov dword [eax + ebp*4], esi
test edi, edi
jne 0x670298
lea esi, [ebx + 4]
mov edi, dword [ecx + 0x2ac]
add edi, 0xfffffffe
cmp edi, esi
jae 0x66ff95
mov esi, dword [0x95da80]
mov edi, dword [0x95da84]
mov dword [esp + 0x4c], eax
xor eax, eax
mov word [esp + 0x2a], ax
mov eax, dword [esp + 0x4c]
jmp 0x66ffda
mov edi, dword [ecx + 0x28c]
cmp edi, esi
jb 0x670301
mov edx, dword [ecx + 0x290]
sub edx, ebx
sub edi, ebx
add edi, 0xfffffffc
add edx, 0xfffffffc
neg edx
sar edx, 0x1f
and esi, edx
cmp edi, 1
jbe 0x6702f5
mov edx, dword [ecx + 0x288]
movzx edx, word [esi + edx]
xor esi, esi
mov word [esp + 0x2a], dx
xor edi, edi
mov edx, dword [esp + 0x48]
mov dword [esp + 0x54], edi
lea edi, [eax + ebp*4 + 4]
movzx edx, word [esp + 0x2a]
mov word [edi], dx
test esi, esi
jne 0x67026d
lea edx, [ebx + 6]
mov esi, dword [ecx + 0x2ac]
add esi, 0xfffffffe
cmp esi, edx
jae 0x670012
mov edx, dword [0x95da80]
mov esi, dword [0x95da84]
xor edi, edi
jmp 0x670052
mov esi, dword [ecx + 0x28c]
cmp esi, edx
jb 0x6702ec
mov edi, dword [ecx + 0x290]
sub edi, ebx
sub esi, ebx
add esi, 0xfffffffa
add edi, 0xfffffffa
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edx, edi
cmp esi, 1
jbe 0x6702e0
mov edi, dword [ecx + 0x288]
movzx edi, word [edx + edi]
xor edx, edx
xor esi, esi
mov dword [esp + 0x54], esi
lea esi, [eax + ebp*4 + 6]
mov word [esi], di
test edx, edx
jne 0x670242
mov dword [esp + 0x44], ebp
mov dword [esp + 0x2c], ebx
lea edx, [ebx + 8]
movzx esi, byte [0x95ea80]
mov edi, dword [0x95ea84]
mov ebx, dword [0x95ea88]
mov eax, dword [0x95ea8c]
mov dword [esp], ecx
xchg esi, eax
mov byte [esp + 4], al
xchg esi, eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x58]
lea edx, [eax + ebp*4 + 8]
mov dword [esp + 0x18], edx
call fcn.0066ee90
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x67020f
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + eax + 8]
movzx ebx, byte [0x95ea90]
mov ebp, dword [0x95ea94]
mov esi, dword [0x95ea98]
mov edi, dword [0x95ea9c]
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov byte [esp + 4], bl
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x58]
lea ebp, [ebx + edx*4 + 0xc]
mov dword [esp + 0x18], ebp
call fcn.0066ee90
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
add edx, ecx
mov ebx, dword [esp + 0x30]
lea ebp, [ebx + ecx]
lea ecx, [ebx + ecx + 8]
test eax, eax
jne 0x6701e3
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
lea ecx, [eax + edx + 8]
movzx ebx, byte [0x95ea20]
mov ebp, dword [0x95ea24]
mov esi, dword [0x95ea28]
mov edi, dword [0x95ea2c]
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov byte [esp + 4], bl
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x58]
lea ecx, [ebx + ecx*4 + 0x10]
mov dword [esp + 0x18], ecx
call fcn.0066ee90
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
add ecx, edx
mov ebx, dword [esp + 0x3c]
lea ebp, [edx + ebx]
lea edx, [edx + ebx + 8]
test eax, eax
je 0x66fec8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x5c
ret
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
add esp, 0x5c
ret
mov eax, dword [esp + 0x30]
add eax, 8
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x5c
ret
mov ecx, dword [esp + 0x30]
add ecx, 6
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
add esp, 0x5c
ret
mov ecx, dword [esp + 0x30]
add ecx, 4
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], esi
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
add esp, 0x5c
ret
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
add esp, 0x5c
ret
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov eax, 1
mov ecx, esi
call fcn.00468a00
mov eax, edx
mov ecx, esi
call fcn.00468a70
mov eax, 1
mov ecx, edi
call fcn.00468a00
mov eax, esi
mov ecx, edi
call fcn.00468a70
mov eax, 3
mov ecx, edi
call fcn.00468a00
mov eax, ebx
mov ecx, edi
call fcn.00468a70
nop
call fcn.00467590
jmp fcn.0066fe50