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

Disassembly:
push 0xffffffffffffffff
push 0x10145d1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
mov ebx, dword [esp + 0x60]
push esi
xor esi, esi
cmp ebx, esi
mov dword [esp + 0x34], ebx
je 0x10066e08
mov eax, dword [ebx + 0xc]
test eax, 0xfff00000
jne 0x10066e08
add eax, 1
mov dword [ebx + 0xc], eax
push ebp
push edi
mov eax, dword [ebx]
mov edi, dword [ebx + 0x4a]
mov edx, dword [eax + 0x3c]
mov ecx, ebx
mov dword [esp + 0x60], esi
mov dword [esp + 0x38], edi
call edx
mov ecx, eax
call fcn.1009a450
push edi
mov dword [esp + 0x24], eax
call fcn.10066180
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x6c]
add esp, 4
push eax
lea ecx, [esp + 0x14]
call fcn.1009edd0
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov word [esp + 0x54], si
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 2
call fcn.100a7730
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x60], 3
xor ebp, ebp
xor edi, edi
call fcn.100b5600
cmp dword [esp + 0x70], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edi
jbe 0x1006701d
mov ebx, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x24]
call fcn.10065750
mov esi, eax
add esp, 8
test esi, esi
jl 0x10066ff6
lea edx, [esp + 0x18]
push edx
mov ecx, ebx
push 0
add ecx, 4
call fcn.100a8550
mov ecx, eax
call fcn.1009bd10
mov eax, dword [esp + 0x18]
cmp dword [eax], 0
mov bl, 4
mov byte [esp + 0x60], bl
jne 0x10066f19
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push 1
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call fcn.1009f660
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 5
call fcn.1005e850
lea ecx, [esp + 0x2c]
mov byte [esp + 0x60], bl
call fcn.1009dbf0
add edi, 1
mov esi, edi
jmp 0x10066fc2
push 0
push ebp
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.1009e510
mov edi, eax
test edi, edi
jl 0x10066f59
mov edx, edi
sub edx, ebp
push edx
push ebp
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x1c]
call fcn.1009f660
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 6
call fcn.1005e850
lea ecx, [esp + 0x30]
jmp 0x10066f7d
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.1009f660
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 7
call fcn.1005e850
lea ecx, [esp + 0x34]
mov byte [esp + 0x60], bl
call fcn.1009dbf0
test edi, edi
jge 0x10066f92
mov edx, dword [esp + 0x70]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x18]
mov ebp, dword [eax]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x24]
add ebp, edi
call fcn.100b5220
mov edx, dword [esp + 0x20]
push edx
mov edx, 1
lea edi, [esp + 0x1c]
mov ecx, eax
call fcn.10065680
add esp, 8
mov edi, esi
mov eax, dword [esp + 0x10]
cmp edi, dword [eax]
mov byte [esp + 0x60], 3
lea ecx, [esp + 0x18]
jge 0x10066fef
call fcn.1009dbf0
mov eax, dword [esp + 0x24]
add eax, 1
cmp eax, dword [esp + 0x70]
mov dword [esp + 0x24], eax
jb 0x10066e91
jmp 0x10067019
call fcn.1009dbf0
jmp 0x10067019
push edi
push 0
lea ecx, [esp + 0x18]
call fcn.1009f410
mov ecx, dword [esp + 0x10]
cmp dword [ecx], 0
je 0x10067019
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
call fcn.1005e850
mov ebx, dword [esp + 0x6c]
mov eax, dword [esp + 0x1c]
push eax
call fcn.1009daa0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
add esp, 4
push eax
lea eax, [esp + 0x18]
push eax
call edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 2
call fcn.100a7d40
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 1
call fcn.1009b200
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 0
call fcn.1009dbf0
mov eax, dword [ebx + 0xc]
test eax, 0xfff00000
pop edi
mov dword [esp + 0x5c], 0xffffffff
pop ebp
jne 0x10067091
add eax, 0xffffffff
mov dword [ebx + 0xc], eax
jne 0x10067091
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x50]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret