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

Disassembly:
push 0xffffffffffffffff
push 0x777cfc
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xf0]
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0xe4], ebx
mov ecx, 0xff
mov eax, 0xe0
push 0x134
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], 0x80
mov dword [esp + 0xb0], 0xc0
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
call fcn.006442a0
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0xe4], 1
cmp esi, ebx
je 0x66d4c5
cmp edi, ebx
je 0x66d4a4
lea eax, [edi + 0xc4]
jmp 0x66d4a6
xor eax, eax
mov ecx, dword [0x881290]
push eax
call fcn.0045a110
push eax
mov eax, dword [esp + 0xf4]
push eax
push esi
call fcn.0066d150
mov edi, eax
jmp 0x66d4c7
xor edi, edi
mov byte [esp + 0xe4], bl
mov ecx, dword [0x881c8c]
mov dword [edi + 0xdc], ecx
mov ecx, dword [0x881c8c]
push ebx
lea esi, [esp + 0x24]
call fcn.0045a130
mov edx, dword [eax]
mov dword [edi + 0xec], edx
mov ecx, dword [eax + 4]
mov dword [edi + 0xf0], ecx
mov edx, dword [eax + 8]
mov dword [edi + 0xf4], edx
mov eax, dword [eax + 0xc]
mov dword [edi + 0xf8], eax
mov ecx, dword [0x881c8c]
push 1
lea esi, [esp + 0x24]
call fcn.0045a130
mov ecx, dword [eax]
mov dword [edi + 0xfc], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x100], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x104], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0x108], edx
mov ecx, dword [0x881c8c]
push 2
lea esi, [esp + 0x24]
call fcn.0045a130
mov ecx, dword [eax]
mov dword [edi + 0x10c], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x110], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x114], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0x118], edx
mov eax, dword [edi + 0x7c]
sub eax, dword [edi + 0x78]
sar eax, 4
cmp eax, 2
ja 0x66d588
call fcn.006441b7
mov eax, dword [edi + 0x78]
mov ecx, dword [0x88ba50]
mov dword [eax + 0x20], ecx
mov edx, dword [0x88ba54]
add eax, 0x20
mov dword [eax + 4], edx
mov ecx, dword [0x88ba58]
mov dword [eax + 8], ecx
mov edx, dword [0x88ba5c]
mov dword [eax + 0xc], edx
mov eax, dword [edi]
mov edx, dword [eax + 0x150]
push 6
lea ecx, [esp + 0x78]
push ecx
mov ecx, edi
call edx
mov ecx, dword [0x882534]
mov eax, dword [edi]
mov edx, dword [0x881290]
mov eax, dword [eax + 0x144]
push ebx
push ecx
push edx
mov ecx, edi
call eax
mov eax, dword [0x881a54]
mov ecx, dword [0x881184]
mov edx, dword [edi]
mov edx, dword [edx + 0x14c]
push eax
push ecx
mov ecx, edi
call edx
mov ecx, dword [0x8810f8]
mov eax, dword [edi]
mov edx, dword [eax + 0x148]
push ecx
mov ecx, edi
call edx
mov esi, dword [0x88b12c]
mov eax, dword [esi + 0x9e0]
lea ecx, [eax + eax*4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov eax, 0x1b4e81b5
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0xd0], eax
mov eax, dword [esi + 0x9e0]
lea ecx, [eax + eax*2]
add ecx, ecx
add ecx, ecx
mov eax, 0x1b4e81b5
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [edi + 0xd4], ecx
mov ecx, dword [esi + 0x9e0]
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov eax, 0x1b4e81b5
imul ecx
mov ecx, dword [edi + 0x12c]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ecx + 0x134], eax
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x92492493
mov dword [esp + 0x18], ebx
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
jle 0x66d813
mov dword [esp + 0x1c], ebx
jmp 0x66d6b4
mov ebx, dword [esp + 0x18]
cmp ebx, eax
jb 0x66d6bd
call fcn.006441b7
mov eax, dword [ebp + 0xc]
add eax, dword [esp + 0x1c]
lea esi, [esp + 0xbc]
call fcn.004395f0
mov edx, eax
lea eax, [esp + 0x58]
mov byte [esp + 0xe4], 2
call fcn.00438d70
mov esi, eax
mov byte [esp + 0xe4], 3
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x66d70f
call fcn.006441b7
mov eax, dword [ebp + 0xc]
add eax, dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
call fcn.00438d30
mov byte [esp + 0xe4], 4
mov ecx, dword [0x88b12c]
push esi
lea ebx, [esp + 0x24]
call fcn.0046a250
mov byte [esp + 0xe4], 5
mov edx, dword [edi]
xor ebx, ebx
push ebx
push eax
mov eax, dword [edx + 0x158]
mov ecx, edi
call eax
mov esi, 8
cmp dword [esp + 0x38], esi
jb 0x66d767
mov ecx, dword [esp + 0x24]
push ecx
call fcn.006441c7
add esp, 4
xor edx, edx
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], dx
jb 0x66d78e
mov eax, dword [esp + 0x40]
push eax
call fcn.006441c7
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp dword [esp + 0x70], esi
jb 0x66d7b1
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.006441c7
add esp, 4
xor edx, edx
mov byte [esp + 0xe4], bl
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], dx
cmp dword [esp + 0xd4], esi
jb 0x66d7e4
mov eax, dword [esp + 0xc0]
push eax
call fcn.006441c7
add esp, 4
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x18]
add dword [esp + 0x1c], 0x1c
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
cmp esi, eax
mov dword [esp + 0x18], esi
jl 0x66d6b0
lea eax, [esp + 0xf4]
lea esi, [esp + 0xbc]
call fcn.004395f0
mov edx, eax
lea eax, [esp + 0x20]
mov byte [esp + 0xe4], 6
call fcn.00438d70
mov esi, eax
lea eax, [esp + 0xf4]
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe4], 7
call fcn.00438d30
mov byte [esp + 0xe4], 8
mov ecx, dword [0x88b12c]
push esi
lea ebx, [esp + 0x5c]
call fcn.0046a250
mov byte [esp + 0xe4], 9
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x164]
mov ecx, edi
call eax
mov esi, 8
cmp dword [esp + 0x70], esi
jb 0x66d898
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.006441c7
add esp, 4
xor ebx, ebx
xor edx, edx
cmp dword [esp + 0x54], 0x10
mov ebp, 7
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], dx
jb 0x66d8c2
mov eax, dword [esp + 0x40]
push eax
call fcn.006441c7
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp dword [esp + 0x38], esi
jb 0x66d8e5
mov ecx, dword [esp + 0x24]
push ecx
call fcn.006441c7
add esp, 4
xor edx, edx
mov byte [esp + 0xe4], bl
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], dx
cmp dword [esp + 0xd4], esi
jb 0x66d914
mov eax, dword [esp + 0xc0]
push eax
call fcn.006441c7
add esp, 4
cmp dword [edi + 0xc8], 0xffffffff
mov dword [edi + 0x60], 1
jne 0x66d931
mov edx, dword [edi]
mov eax, dword [edx + 0x160]
push ebx
mov ecx, edi
call eax
cmp dword [esp + 0x10c], esi
jb 0x66d94a
mov ecx, dword [esp + 0xf8]
push ecx
call fcn.006441c7
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd4
ret 0x24