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

Disassembly:
push 0xffffffffffffffff
push 0x66216480
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 0x66208acf
mov ecx, 0x10b
cmp word [esi + 0x18], cx
jne 0x66208acf
mov ecx, dword [esi + 0x74]
jmp 0x66208ad5
mov ecx, dword [esi + 0x84]
cmp ecx, 1
jbe 0x66208b5e
cmp ax, 2
jb 0x66208af2
mov edx, 0x10b
lea eax, [esi + 0x78]
cmp word [esi + 0x18], dx
je 0x66208af8
lea eax, [esi + 0x88]
add eax, 8
cmp eax, edi
je 0x66208b5e
mov eax, dword [eax]
cmp eax, edi
je 0x66208b5e
lea ecx, [esp + 0x18]
push ecx
push eax
push esi
mov ecx, ebp
call fcn.66207ff0
cmp eax, edi
jl 0x66208f55
cmp word [esi + 0x14], 2
jb 0x66208b32
mov edx, 0x10b
mov byte [esp + 0xf], 1
cmp word [esi + 0x18], dx
je 0x66208b37
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.662071f0
cmp eax, edi
jl 0x66208f54
jmp 0x66208b74
mov eax, 0xc000007a
jmp 0x66208f55
mov ebp, dword [esp + 0x18]
cmp dword [esp + 0x84], 0
je 0x66208ecb
cmp byte [esi + 0x118], 0
mov eax, dword [esp + 0x90]
jne 0x66208bc5
cmp word [esi + 0x14], 2
jb 0x66208b9e
mov ecx, 0x10b
mov ecx, dword [esi + 0x54]
cmp eax, ecx
jb 0x66208bc5
lea edx, [esp + 0x54]
push edx
push eax
push esi
mov ecx, ebp
call fcn.662078b0
test eax, eax
jl 0x66208f54
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
jmp 0x66208bdf
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.66209290
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.66207560
mov ebp, eax
test ebp, ebp
jl 0x66208ed2
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x70]
push eax
push ecx
push eax
call fcn.66209670
mov eax, dword [esp + 0xb8]
add esp, 0xc
test eax, eax
je 0x66208c73
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 0x66208c67
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.66209410
jmp 0x66208e91
cmp edi, 0xc0000271
jne 0x66208eea
cmp dword [esp + 0xb0], 0
je 0x66208c4e
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.66207ff0
mov edi, eax
test edi, edi
jl 0x66208eea
mov edx, dword [esp + 0x94]
lea ecx, [esp + 0x7c]
push ecx
push edx
push esi
mov ecx, ebx
call fcn.66207ff0
mov esi, eax
test esi, esi
jl 0x66208f3e
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 0x66208ce0
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.662071f0
mov dword [esp + 0x14], eax
test eax, eax
jl 0x66208f13
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x34]
je 0x66208d24
xor ecx, ecx
jmp 0x66208d28
mov ecx, dword [esp + 0x38]
or eax, ecx
je 0x66208e76
push 0
lea ecx, [esp + 0x60]
call fcn.66209290
mov byte [esp + 0xa0], 1
xor edx, edx
mov dword [esp + 0x48], edx
cmp byte [esp + 0x13], dl
je 0x66208d68
mov eax, dword [esp + 0x34]
shr eax, 0x1f
cmp eax, edx
je 0x66208d78
movzx ecx, word [esp + 0x34]
mov dword [esp + 0x40], ecx
jmp 0x66208dfb
mov ecx, dword [esp + 0x38]
and ecx, 0x80000000
xor eax, eax
or eax, ecx
jne 0x66208d5a
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.66207ff0
mov dword [esp + 0x14], eax
test eax, eax
jl 0x66208f02
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.66207400
mov dword [esp + 0x14], eax
test eax, eax
jl 0x66208f02
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.66207560
mov dword [esp + 0x14], eax
test eax, eax
jl 0x66208f02
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 0x66208e65
cmp esi, 0xc0000271
jne 0x66208f2d
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x5c]
call fcn.66209410
inc dword [esp + 0x3c]
mov eax, dword [esp + 0x6c]
jmp 0x66208ce0
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x5c]
call fcn.66209410
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.66209410
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.662071f0
test eax, eax
jge 0x66208b70
jmp 0x66208f54
xor eax, eax
jmp 0x66208f54
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.66209410
mov eax, ebp
jmp 0x66208f54
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.66209410
mov eax, edi
jmp 0x66208f54
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x5c]
call fcn.66209410
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.66209410
mov eax, dword [esp + 0x14]
jmp 0x66208f54
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x5c]
call fcn.66209410
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.66209410
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