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

Disassembly:
push 0xffffffffffffffff
push 0x1026c0f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x90]
push esi
mov esi, dword [ebp + 0x8c]
cmp esi, eax
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
je 0x66f3fd
xor ebx, ebx
jmp 0x66f099
mov ebp, dword [esp + 0x14]
jmp 0x66f099
mov edi, dword [ebp + 0xc0]
mov eax, dword [edi + 4]
cmp byte [eax + 0x31], bl
mov ecx, dword [esi]
mov edx, dword [esi + 4]
jne 0x66f0c6
cmp edx, dword [eax + 0x14]
ja 0x66f0be
jb 0x66f0b8
cmp ecx, dword [eax + 0x10]
jae 0x66f0be
mov edi, eax
mov eax, dword [eax]
jmp 0x66f0c1
mov eax, dword [eax + 8]
cmp byte [eax + 0x31], bl
je 0x66f0ac
mov eax, dword [ebp + 0xc0]
cmp edi, dword [eax]
jne 0x66f0ec
push 0x2fd
push 0x102952a4
push 0x1027a9d8
push 0x10295150
call fcn.0049d429
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], edi
call fcn.00660321
mov ebp, dword [esp + 0x10]
mov eax, dword [esi + 4]
mov edx, dword [ebp + 0x14]
cmp edx, eax
mov ecx, dword [esi]
mov dword [esp + 0x10], ebp
ja 0x66f209
jb 0x66f11e
mov eax, dword [ebp + 0x10]
cmp eax, ecx
jae 0x66f209
sub esp, 0x14
mov eax, esp
mov byte [eax], bl
mov byte [eax + 1], bl
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [esp + 0x24], esp
push ecx
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.00663e7e
add esp, 0x20
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x40], ecx
mov cl, byte [eax + 9]
mov dword [esp + 0x3c], edx
mov dl, byte [eax + 8]
add eax, 0xc
mov byte [esp + 0x45], cl
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0xb0], ebx
mov byte [esp + 0x48], dl
call fcn.006501e9
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x3c]
push edx
push edi
lea eax, [esp + 0x68]
push eax
add ecx, 0xbc
mov byte [esp + 0xb8], 1
call fcn.006658d8
mov ecx, dword [eax]
mov eax, dword [esp + 0x4c]
cmp eax, ebx
mov dword [esp + 0x10], ecx
je 0x66f1b8
push eax
call fcn.0049cb9b
mov ecx, dword [esp + 0x14]
add esp, 4
mov eax, dword [esp + 0x74]
cmp eax, ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0xac], 0xffffffff
je 0x66f1e4
push eax
call fcn.0049cb9b
mov ecx, dword [esp + 0x14]
add esp, 4
mov dl, byte [ebp + 0x18]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov byte [ecx + 0x18], dl
mov al, byte [ebp + 0x19]
add ebp, 0x1c
mov byte [ecx + 0x19], al
push ebp
add ecx, 0x1c
call fcn.0064cdc3
nop
mov eax, dword [esi + 8]
cmp eax, dword [0x102fe7f8]
mov ecx, dword [esi + 0xc]
jne 0x66f21f
cmp ecx, dword [0x102fe7fc]
je 0x66f228
mov ebp, dword [esi]
mov edx, dword [esi + 4]
add eax, ebp
adc ecx, edx
cmp ecx, dword [edi + 0x14]
jb 0x66f2b0
ja 0x66f238
cmp eax, dword [edi + 0x10]
jbe 0x66f2b0
mov ecx, dword [esp + 0x10]
mov byte [ecx + 0x18], 1
cmp byte [edi + 0x31], bl
mov dword [esp + 0x10], edi
jne 0x66f27f
mov ecx, dword [edi + 8]
cmp byte [ecx + 0x31], bl
jne 0x66f266
mov eax, dword [ecx]
cmp byte [eax + 0x31], bl
jne 0x66f262
nop
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x31], bl
je 0x66f259
mov edi, ecx
jmp 0x66f27f
mov eax, dword [edi + 4]
cmp byte [eax + 0x31], bl
jne 0x66f27d
cmp edi, dword [eax + 8]
jne 0x66f27d
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x31], bl
je 0x66f26e
mov edi, eax
mov edx, dword [esp + 0x14]
cmp edi, dword [edx + 0xc0]
jne 0x66f209
push 0x30b
push 0x102952a4
push 0x1027a9d8
push 0x10295134
call fcn.0049d429
add esp, 0x10
jmp 0x66f209
mov ebp, dword [esp + 0x10]
mov byte [ebp + 0x18], 1
mov eax, dword [esi + 8]
cmp eax, dword [0x102fe7f8]
mov ecx, dword [esi + 0xc]
jne 0x66f2ce
cmp ecx, dword [0x102fe7fc]
je 0x66f2d3
add eax, dword [esi]
adc ecx, dword [esi + 4]
cmp ecx, dword [edi + 0x14]
ja 0x66f3ee
jb 0x66f2e7
cmp eax, dword [edi + 0x10]
jae 0x66f3ee
sub esp, 0x14
mov eax, esp
mov byte [eax], bl
mov byte [eax + 1], bl
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov eax, dword [esi + 8]
cmp eax, dword [0x102fe7f8]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x24], esp
jne 0x66f314
cmp ecx, dword [0x102fe7fc]
je 0x66f319
add eax, dword [esi]
adc ecx, dword [esi + 4]
push ecx
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.00663e7e
add esp, 0x20
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov cl, byte [eax + 8]
mov dword [esp + 0x20], edx
mov dl, byte [eax + 9]
add eax, 0xc
mov byte [esp + 0x24], cl
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0xb0], 2
mov byte [esp + 0x29], dl
call fcn.006501e9
lea eax, [esp + 0x1c]
push eax
push edi
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x20]
add ecx, 0xbc
mov byte [esp + 0xb8], 3
call fcn.006658d8
mov edi, dword [eax]
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x66f393
push eax
call fcn.0049cb9b
add esp, 4
mov eax, dword [esp + 0x94]
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0xac], 0xffffffff
je 0x66f3be
push eax
call fcn.0049cb9b
add esp, 4
mov dl, byte [ebp + 0x18]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov byte [edi + 0x18], dl
mov al, byte [ebp + 0x19]
add ebp, 0x1c
push ebp
lea ecx, [edi + 0x1c]
mov byte [edi + 0x19], al
call fcn.0064cdc3
mov byte [edi + 0x18], bl
mov eax, dword [esp + 0x18]
add esi, 0x10
cmp esi, eax
jne 0x66f08a
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa0
ret