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

Disassembly:
push 0xffffffffffffffff
push 0x66f86840
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x66fe31a0]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x66fe31a0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x6c]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x80]
mov dword [esp + 0x20], eax
test edi, edi
je 0x66f4eb81
mov al, byte [esi]
cmp al, 0x2b
je 0x66f4eb7a
cmp al, 0x2d
jne 0x66f4eb81
mov ebx, 1
jmp 0x66f4eb83
xor ebx, ebx
mov eax, dword [ebp + 0x14]
and eax, 0xe00
cmp eax, 0x800
jne 0x66f4ebaf
lea eax, [ebx + 2]
cmp eax, edi
ja 0x66f4ebaf
cmp byte [esi + ebx], 0x30
jne 0x66f4ebaf
mov cl, byte [esi + ebx + 1]
cmp cl, 0x78
je 0x66f4ebad
cmp cl, 0x58
jne 0x66f4ebaf
mov ebx, eax
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call fcn.66e08000
push eax
mov dword [esp + 0x64], 0
call fcn.66e05940
mov ecx, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x60], 0xffffffff
test ecx, ecx
je 0x66f4ebf1
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x66f4ebf1
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push 0
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
call fcn.66f4f280
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x14]
cmovae eax, dword [esp + 0x24]
push eax
lea eax, [edi + esi]
mov dword [esp + 0x64], 1
mov edx, dword [ecx]
push eax
push esi
call dword [edx + 0x1c]
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
call fcn.66e08000
push eax
mov byte [esp + 0x64], 2
call fcn.66f4cc60
mov ecx, dword [esp + 0x18]
add esp, 4
mov byte [esp + 0x60], 1
mov esi, eax
mov dword [esp + 0x1c], esi
test ecx, ecx
je 0x66f4ec75
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x66f4ec75
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.66f50250
cmp dword [esp + 0x50], 0x10
lea esi, [esp + 0x3c]
mov byte [esp + 0x60], 3
cmovae esi, dword [esp + 0x3c]
mov al, byte [esi]
cmp al, 0x7f
je 0x66f4ece4
test al, al
jle 0x66f4ece4
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov byte [esp + 0x14], al
mov al, byte [esi]
cmp al, 0x7f
je 0x66f4ece4
test al, al
jle 0x66f4ece4
movsx ecx, al
mov eax, edi
sub eax, ebx
cmp ecx, eax
jae 0x66f4ece4
push dword [esp + 0x14]
sub edi, ecx
lea ecx, [esp + 0x28]
push 1
push edi
call fcn.66f50790
cmp byte [esi + 1], 0
lea eax, [esi + 1]
cmovg esi, eax
mov al, byte [esi]
cmp al, 0x7f
jne 0x66f4ecb3
cmp dword [ebp + 0x24], 0
mov edi, dword [esp + 0x34]
jl 0x66f4ed01
jg 0x66f4ecf6
cmp dword [ebp + 0x20], 0
jbe 0x66f4ed01
mov esi, dword [ebp + 0x20]
cmp esi, edi
jbe 0x66f4ed01
sub esi, edi
jmp 0x66f4ed03
xor esi, esi
mov eax, dword [ebp + 0x14]
and eax, 0x1c0
cmp eax, 0x40
je 0x66f4edde
cmp eax, 0x100
je 0x66f4ed7e
push esi
push dword [esp + 0x80]
lea eax, [esp + 0x1c]
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push eax
push dword [esp + 0x7c]
call fcn.66f4efb0
mov edx, eax
lea ecx, [esp + 0x3c]
xor esi, esi
cmp dword [esp + 0x50], 0x10
push ebx
cmovae ecx, dword [esp + 0x40]
mov eax, dword [edx]
mov dword [esp + 0x8c], eax
mov eax, dword [edx + 4]
push ecx
mov dword [esp + 0x94], eax
lea eax, [esp + 0x34]
push dword [edx + 4]
push dword [edx]
push eax
push dword [esp + 0x94]
call fcn.66f4ef30
add esp, 0x30
jmp 0x66f4ee07
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
push ebx
cmovae eax, dword [esp + 0x28]
push eax
push dword [esp + 0x7c]
lea eax, [esp + 0x20]
push dword [esp + 0x7c]
push eax
push dword [esp + 0x7c]
call fcn.66f4ef30
mov ecx, eax
push esi
push dword [esp + 0x98]
mov eax, dword [ecx]
mov dword [esp + 0x90], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x34]
push dword [ecx + 4]
push dword [ecx]
push eax
push dword [esp + 0x94]
call fcn.66f4efb0
add esp, 0x30
xor esi, esi
jmp 0x66f4ee07
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
push ebx
cmovae eax, dword [esp + 0x28]
push eax
push dword [esp + 0x7c]
lea eax, [esp + 0x20]
push dword [esp + 0x7c]
push eax
push dword [esp + 0x7c]
call fcn.66f4ef30
add esp, 0x18
mov ecx, dword [eax]
cmp dword [esp + 0x38], 0x10
mov dword [esp + 0x70], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
sub edi, ebx
push edi
add eax, ebx
mov dword [esp + 0x78], edx
mov ebx, dword [esp + 0x6c]
push eax
push edx
push ecx
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.66f4ef30
push esi
push dword [esp + 0x98]
mov ecx, dword [eax]
mov dword [esp + 0x90], ecx
mov eax, dword [eax + 4]
push eax
push ecx
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x24], 0
mov ebp, dword [esp + 0x48]
push ebp
push ebx
mov dword [esp + 0xa4], eax
call fcn.66f4efb0
add esp, 0x30
cmp dword [esp + 0x50], 0x10
jb 0x66f4ee85
push dword [esp + 0x3c]
call fcn.66e13cbe
add esp, 4
cmp dword [esp + 0x38], 0x10
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
jb 0x66f4eead
push dword [esp + 0x24]
call fcn.66e13cbe
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.66f2a29c
add esp, 0x50
ret