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

Disassembly:
push 0xffffffffffffffff
push 0x66216950
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebp
push esi
mov esi, dword [esp + 0xa0]
movzx eax, word [esi + 0x14]
push edi
xor edi, edi
mov ebp, ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
cmp ax, 2
jb 0x66208c7f
mov ecx, 0x10b
cmp word [esi + 0x18], cx
jne 0x66208c7f
mov ecx, dword [esi + 0x74]
jmp 0x66208c85
mov ecx, dword [esi + 0x84]
cmp ecx, 1
jbe 0x66208d0e
cmp ax, 2
jb 0x66208ca2
mov edx, 0x10b
lea eax, [esi + 0x78]
cmp word [esi + 0x18], dx
je 0x66208ca8
lea eax, [esi + 0x88]
add eax, 8
cmp eax, edi
je 0x66208d0e
mov eax, dword [eax]
cmp eax, edi
je 0x66208d0e
lea ecx, [esp + 0x18]
push ecx
push eax
push esi
mov ecx, ebp
call fcn.662081a0
cmp eax, edi
jl 0x66209105
cmp word [esi + 0x14], 2
jb 0x66208ce2
mov edx, 0x10b
mov byte [esp + 0xf], 1
cmp word [esi + 0x18], dx
je 0x66208ce7
mov byte [esp + 0xf], 0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ebx
push edi
push 0x14
lea eax, [esp + 0x8c]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.662073e0
cmp eax, edi
jl 0x66209104
jmp 0x66208d24
mov eax, 0xc000007a
jmp 0x66209105
mov ebp, dword [esp + 0x18]
cmp dword [esp + 0x84], 0
je 0x6620907b
cmp byte [esi + 0x118], 0
mov eax, dword [esp + 0x90]
jne 0x66208d75
cmp word [esi + 0x14], 2
jb 0x66208d4e
mov ecx, 0x10b
mov ecx, dword [esi + 0x54]
cmp eax, ecx
jb 0x66208d75
lea edx, [esp + 0x54]
push edx
push eax
push esi
mov ecx, ebp
call fcn.66207aa0
test eax, eax
jl 0x66209104
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
jmp 0x66208d8f
mov edi, dword [esi + 0x114]
xor ecx, ecx
add eax, dword [esi + 0x110]
adc edi, ecx
mov ebx, eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
push 0
lea ecx, [esp + 0x28]
call fcn.66209440
mov dword [esp + 0xa0], 0
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x28]
push eax
push edi
push ebx
mov ecx, ebp
call fcn.66207750
mov ebp, eax
test ebp, ebp
jl 0x66209082
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x70]
push eax
push ecx
push eax
call fcn.66209820
mov eax, dword [esp + 0xb8]
add esp, 0xc
test eax, eax
je 0x66208e23
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0x24]
push edx
push edi
push ebx
push ecx
call eax
mov edi, eax
add esp, 0x10
cmp edi, 0x4000000f
jne 0x66208e17
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.662095c0
jmp 0x66209041
cmp edi, 0xc0000271
jne 0x6620909a
cmp dword [esp + 0xb0], 0
je 0x66208dfe
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x74]
push edx
push eax
push esi
mov ecx, ebx
call fcn.662081a0
mov edi, eax
test edi, edi
jl 0x6620909a
mov edx, dword [esp + 0x94]
lea ecx, [esp + 0x7c]
push ecx
push edx
push esi
mov ecx, ebx
call fcn.662081a0
mov esi, eax
test esi, esi
jl 0x662090ee
xor eax, eax
cmp byte [esp + 0x13], al
mov dword [esp + 0x3c], 0
sete al
lea eax, [eax*4 + 4]
mov dword [esp + 0x6c], eax
jmp 0x66208e90
mov esi, eax
imul esi, dword [esp + 0x3c]
xor edi, edi
mov ebp, esi
add ebp, dword [esp + 0x74]
mov ebx, edi
adc ebx, dword [esp + 0x78]
xor ecx, ecx
push ecx
mov ecx, dword [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
push ebx
push ebp
call fcn.662073e0
mov dword [esp + 0x14], eax
test eax, eax
jl 0x662090c3
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x34]
je 0x66208ed4
xor ecx, ecx
jmp 0x66208ed8
mov ecx, dword [esp + 0x38]
or eax, ecx
je 0x66209026
push 0
lea ecx, [esp + 0x60]
call fcn.66209440
mov byte [esp + 0xa0], 1
xor edx, edx
mov dword [esp + 0x48], edx
cmp byte [esp + 0x13], dl
je 0x66208f18
mov eax, dword [esp + 0x34]
shr eax, 0x1f
cmp eax, edx
je 0x66208f28
movzx ecx, word [esp + 0x34]
mov dword [esp + 0x40], ecx
jmp 0x66208fab
mov ecx, dword [esp + 0x38]
and ecx, 0x80000000
xor eax, eax
or eax, ecx
jne 0x66208f0a
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xa8]
lea edx, [esp + 0x4c]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.662081a0
mov dword [esp + 0x14], eax
test eax, eax
jl 0x662090b2
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x40]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.662075f0
mov dword [esp + 0x14], eax
test eax, eax
jl 0x662090b2
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
add ecx, 2
push 0
lea edx, [esp + 0x60]
adc eax, 0
push edx
push eax
mov dword [esp + 0x50], ecx
push ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], eax
call fcn.66207750
mov dword [esp + 0x14], eax
test eax, eax
jl 0x662090b2
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0xb4]
add esi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x40]
adc edi, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x4c]
push ebx
push ebp
push edi
push esi
push ecx
mov ecx, dword [esp + 0x74]
push eax
push edx
mov edx, dword [esp + 0x44]
push ecx
push edx
call dword [esp + 0xd8]
mov esi, eax
add esp, 0x28
cmp esi, 0x4000000f
je 0x66209015
cmp esi, 0xc0000271
jne 0x662090dd
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x5c]
call fcn.662095c0
inc dword [esp + 0x3c]
mov eax, dword [esp + 0x6c]
jmp 0x66208e90
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x5c]
call fcn.662095c0
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.662095c0
mov esi, dword [esp + 0xa8]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push 0
add eax, 0x14
push 0x14
adc ecx, 0
lea edx, [esp + 0x8c]
push edx
push ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x28]
push eax
mov dword [esp + 0x30], eax
call fcn.662073e0
test eax, eax
jge 0x66208d20
jmp 0x66209104
xor eax, eax
jmp 0x66209104
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.662095c0
mov eax, ebp
jmp 0x66209104
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.662095c0
mov eax, edi
jmp 0x66209104
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x5c]
call fcn.662095c0
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.662095c0
mov eax, dword [esp + 0x14]
jmp 0x66209104
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x5c]
call fcn.662095c0
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.662095c0
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x94
ret 0x10