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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x66d13f
sub esp, 0x94
mov eax, 0
mov dword [esp + 0x90], eax
mov byte [esp + 0x33], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x58], edx
mov ebx, dword [eax]
mov dword [esp + 0x5c], ebx
test byte [ebx], al
lea ebp, [ebx + 0xc0]
mov dword [esp + 0x6c], ebp
mov dword [esp], ebp
call fcn.00472830
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [0x66d150]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x90], eax
mov byte [esp + 0x33], 1
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x74]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x40]
mov ebx, dword [edx + 0x14]
mov ebp, dword [esp + 0x58]
mov dword [esp], ebp
call ebx
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 4]
lea edi, [esp + 0x78]
xor eax, eax
call fcn.004690fa
mov eax, dword [esp + 0x68]
mov dword [esp + 0x88], eax
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x78]
mov dword [esp], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 3
mov byte [esp + 0x14], 0
call fcn.0044b120
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x66cf1f
je 0x66ceee
cmp eax, 1
jne 0x66cebc
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov byte [esp + 0x33], 0
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
add esp, 0x94
ret
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
mov byte [esp + 0x33], 0
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
add esp, 0x94
ret
mov eax, dword [0x9674c8]
mov ecx, dword [0x9674cc]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov byte [esp + 0x33], 0
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
add esp, 0x94
ret
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call fcn.0066af90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
test eax, eax
jne 0x66d106
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x9c]
mov ebx, dword [eax + 0x20]
test ebx, ebx
je 0x66cf97
lea ebp, [0x7b1c14]
cmp ebx, ebp
je 0x66cf62
xor ebx, ebx
jmp 0x66cf9c
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 0x24]
mov dword [esp], ebx
mov dword [esp + 4], ecx
lea ecx, [0x994f00]
mov dword [esp + 8], ecx
call fcn.00404290
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x50]
mov ebx, eax
mov eax, dword [esp + 0x9c]
jmp 0x66cf9c
mov ebx, 1
test bl, bl
je 0x66cfa6
xor ebp, ebp
xor ebx, ebx
jmp 0x66cfd0
mov ebx, dword [eax + 0x2c]
mov ebp, dword [eax + 0x30]
test ebp, ebp
xchg esi, ebx
setne bl
xchg esi, ebx
test ebx, ebx
xchg edi, ebx
setne bl
xchg edi, ebx
or esi, edi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x66cfd0
mov ebp, 0xffffffff
mov ebx, 0xffffffff
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x98]
movzx edi, byte [esi + 0x64]
mov esi, dword [esp + 0x5c]
mov dword [esp], esi
mov dword [esp + 4], eax
xchg edi, eax
mov byte [esp + 8], al
xchg edi, eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebx
call fcn.0066e710
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
test ecx, ecx
setne cl
mov edx, dword [esp + 0x34]
test edx, edx
setne dl
or ecx, edx
test eax, eax
jne 0x66d0d9
test cl, cl
je 0x66d031
xor eax, eax
jmp 0x66d03a
mov eax, dword [esp + 0x3c]
test eax, eax
sete al
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x98]
mov byte [ebp + 0xc9], 1
mov esi, dword [ebp + 0x14]
mov edi, dword [esp + 0x5c]
mov ebp, dword [edi + 0xa4]
mov dword [esp], edi
mov dword [esp + 4], esi
mov byte [esp + 8], al
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
call fcn.0066d6b0
mov eax, dword [esp + 0x98]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
je 0x66d0b4
mov eax, dword [eax + 0x34]
test eax, eax
je 0x66d0b4
mov dword [esp + 0x60], ecx
mov dword [esp + 0x54], edx
mov ecx, dword [eax]
mov edx, eax
call ecx
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x54]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov byte [esp + 0x33], 0
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
add esp, 0x94
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov byte [esp + 0x33], 0
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
add esp, 0x94
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov byte [esp + 0x33], 0
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
add esp, 0x94
ret
call fcn.00467a60
jmp fcn.0066cd40