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

Disassembly:
push 0xffffffffffffffff
push 0x66216730
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 0x66208bbf
mov ecx, 0x10b
cmp word [esi + 0x18], cx
jne 0x66208bbf
mov ecx, dword [esi + 0x74]
jmp 0x66208bc5
mov ecx, dword [esi + 0x84]
cmp ecx, 1
jbe 0x66208c4e
cmp ax, 2
jb 0x66208be2
mov edx, 0x10b
lea eax, [esi + 0x78]
cmp word [esi + 0x18], dx
je 0x66208be8
lea eax, [esi + 0x88]
add eax, 8
cmp eax, edi
je 0x66208c4e
mov eax, dword [eax]
cmp eax, edi
je 0x66208c4e
lea ecx, [esp + 0x18]
push ecx
push eax
push esi
mov ecx, ebp
call fcn.662080e0
cmp eax, edi
jl 0x66209045
cmp word [esi + 0x14], 2
jb 0x66208c22
mov edx, 0x10b
mov byte [esp + 0xf], 1
cmp word [esi + 0x18], dx
je 0x66208c27
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.66207320
cmp eax, edi
jl 0x66209044
jmp 0x66208c64
mov eax, 0xc000007a
jmp 0x66209045
mov ebp, dword [esp + 0x18]
cmp dword [esp + 0x84], 0
je 0x66208fbb
cmp byte [esi + 0x118], 0
mov eax, dword [esp + 0x90]
jne 0x66208cb5
cmp word [esi + 0x14], 2
jb 0x66208c8e
mov ecx, 0x10b
mov ecx, dword [esi + 0x54]
cmp eax, ecx
jb 0x66208cb5
lea edx, [esp + 0x54]
push edx
push eax
push esi
mov ecx, ebp
call fcn.662079e0
test eax, eax
jl 0x66209044
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
jmp 0x66208ccf
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.66209380
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.66207690
mov ebp, eax
test ebp, ebp
jl 0x66208fc2
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x70]
push eax
push ecx
push eax
call fcn.66209760
mov eax, dword [esp + 0xb8]
add esp, 0xc
test eax, eax
je 0x66208d63
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 0x66208d57
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.66209500
jmp 0x66208f81
cmp edi, 0xc0000271
jne 0x66208fda
cmp dword [esp + 0xb0], 0
je 0x66208d3e
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.662080e0
mov edi, eax
test edi, edi
jl 0x66208fda
mov edx, dword [esp + 0x94]
lea ecx, [esp + 0x7c]
push ecx
push edx
push esi
mov ecx, ebx
call fcn.662080e0
mov esi, eax
test esi, esi
jl 0x6620902e
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 0x66208dd0
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.66207320
mov dword [esp + 0x14], eax
test eax, eax
jl 0x66209003
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x34]
je 0x66208e14
xor ecx, ecx
jmp 0x66208e18
mov ecx, dword [esp + 0x38]
or eax, ecx
je 0x66208f66
push 0
lea ecx, [esp + 0x60]
call fcn.66209380
mov byte [esp + 0xa0], 1
xor edx, edx
mov dword [esp + 0x48], edx
cmp byte [esp + 0x13], dl
je 0x66208e58
mov eax, dword [esp + 0x34]
shr eax, 0x1f
cmp eax, edx
je 0x66208e68
movzx ecx, word [esp + 0x34]
mov dword [esp + 0x40], ecx
jmp 0x66208eeb
mov ecx, dword [esp + 0x38]
and ecx, 0x80000000
xor eax, eax
or eax, ecx
jne 0x66208e4a
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.662080e0
mov dword [esp + 0x14], eax
test eax, eax
jl 0x66208ff2
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.66207530
mov dword [esp + 0x14], eax
test eax, eax
jl 0x66208ff2
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.66207690
mov dword [esp + 0x14], eax
test eax, eax
jl 0x66208ff2
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 0x66208f55
cmp esi, 0xc0000271
jne 0x6620901d
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x5c]
call fcn.66209500
inc dword [esp + 0x3c]
mov eax, dword [esp + 0x6c]
jmp 0x66208dd0
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x5c]
call fcn.66209500
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.66209500
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.66207320
test eax, eax
jge 0x66208c60
jmp 0x66209044
xor eax, eax
jmp 0x66209044
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.66209500
mov eax, ebp
jmp 0x66209044
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.66209500
mov eax, edi
jmp 0x66209044
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x5c]
call fcn.66209500
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.66209500
mov eax, dword [esp + 0x14]
jmp 0x66209044
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x5c]
call fcn.66209500
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.66209500
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