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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
mov dword [esp + 0x2c], eax
push edi
lea eax, [esp + 0x30]
mov byte [esp + 0x34], 0xa
call fcn.10006aec
xor ecx, ecx
inc ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], ecx
cmp eax, ecx
jl 0x10007385
push dword [esp + 0x1c]
and dword [esp + 0x78], 0
and dword [esp + 0x7c], 0
lea edi, [esp + 0x78]
lea eax, [esp + 0x34]
mov byte [esp + 0x80], 0x3b
call fcn.10006b44
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.100069cb
mov esi, eax
test esi, esi
jle 0x10007344
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov ebx, 0x100209f0
lea eax, [esi + 1]
push ebx
push eax
mov dword [esp + 0x64], esi
call fcn.1000b0f1
push esi
push dword [esp + 0x1c]
mov edi, eax
push edi
mov dword [esp + 0x3c], edi
call fcn.1000ad90
add esp, 0x14
lea eax, [esp + 0x10]
push eax
mov byte [edi + esi], 0
push edi
lea esi, [esp + 0x7c]
call fcn.10006a19
cmp eax, 0xffffffff
jle 0x1000733d
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x10]
push eax
push 0x1001b404
mov dword [esp + 0x58], ecx
call fcn.10006a19
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x10]
push eax
push 0x1001b40c
mov dword [esp + 0x50], ecx
call fcn.10006a19
mov esi, eax
mov eax, dword [esp + 0x10]
xor edi, edi
cmp eax, edi
jne 0x100070c9
push 0x5c
push dword [ebp + 0x10]
call fcn.1000d3a0
pop ecx
pop ecx
cmp eax, edi
jne 0x100070c1
push 0x2f
push dword [ebp + 0x10]
call fcn.1000d3a0
pop ecx
pop ecx
cmp eax, edi
je 0x100070c6
sub eax, dword [ebp + 0x10]
mov esi, eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x48], esi
push 0x1001b414
lea esi, [esp + 0x7c]
call fcn.10006a19
mov ecx, dword [esp + 0x10]
push ebx
push 0x1c
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
call fcn.1000d159
pop ecx
pop ecx
cmp eax, edi
je 0x10007116
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
mov ebx, eax
jmp 0x10007118
xor ebx, ebx
push dword [ebp + 0x18]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x60]
push eax
push dword [ebp + 0xc]
lea edi, [esp + 0x70]
mov eax, ebx
call fcn.10006dd2
test eax, eax
je 0x1000737a
push 0x100209f0
push 8
call fcn.1000d159
xor edi, edi
pop ecx
pop ecx
cmp eax, edi
je 0x10007162
mov dword [eax + 4], edi
mov dword [esp + 0x18], eax
jmp 0x10007166
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x18]
mov esi, dword [ebp + 8]
push esi
mov dword [eax], ebx
call dword [0x100190b4]
mov ecx, dword [ebx + 0x14]
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x18], edi
call fcn.10006bd7
pop ecx
test eax, eax
je 0x100071b9
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x60]
push eax
call fcn.10006bd7
pop ecx
test eax, eax
je 0x100071b9
fld qword [esp + 0x60]
mov dword [esp + 0x14], 1
fcomp qword [esp + 0x68]
fnstsw ax
test ah, 0x41
je 0x100071b9
mov dword [esp + 0x14], edi
mov edi, dword [esi + 0x1c]
test edi, edi
je 0x100072e5
push dword [ebx]
mov eax, dword [edi]
push dword [eax]
call dword [0x1001907c]
test eax, eax
jne 0x100072d7
mov eax, dword [edi]
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebx + 0x18]
jne 0x100072d7
mov eax, dword [eax + 8]
xor esi, esi
test eax, eax
je 0x10007291
cmp dword [ebx + 8], esi
je 0x10007291
push eax
call dword [0x10019144]
test eax, eax
jle 0x10007291
push dword [ebx + 8]
call dword [0x10019144]
test eax, eax
jle 0x10007291
push dword [ebx + 8]
mov esi, dword [0x10019144]
call esi
mov dword [esp + 0x20], eax
mov eax, dword [edi]
push dword [eax + 8]
call esi
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jg 0x100072d7
lea eax, [ecx + 1]
push 0x100209f0
push eax
call fcn.1000b0f1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
pop ecx
pop ecx
inc eax
push eax
mov eax, dword [edi]
push dword [eax + 8]
call esi
mov ecx, dword [edi]
mov ecx, dword [ecx + 8]
sub ecx, dword [esp + 0x24]
add eax, ecx
push eax
push dword [esp + 0x2c]
call dword [0x1001905c]
push dword [ebx + 8]
push dword [esp + 0x28]
call dword [0x1001907c]
push dword [esp + 0x24]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call fcn.1000ad67
pop ecx
jmp 0x100072d3
mov eax, dword [edi]
cmp dword [eax + 8], esi
jne 0x100072d7
cmp dword [ebx + 8], esi
jne 0x100072d7
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100072d7
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x100072d7
push ecx
push eax
call dword [0x1001907c]
test eax, eax
jne 0x100072d7
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x100072d7
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x100072d7
push eax
push ecx
call dword [0x1001907c]
test eax, eax
je 0x100072fa
test esi, esi
jne 0x100072fa
mov edi, dword [edi + 4]
test edi, edi
jne 0x100071c4
mov esi, dword [ebp + 8]
cmp dword [esp + 0x14], 0
jne 0x1000731f
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x18]
call fcn.10007806
jmp 0x10007330
cmp dword [esp + 0x14], 0
je 0x10007358
mov esi, dword [ebp + 8]
push edi
add esi, 0x18
call fcn.10007844
mov esi, dword [edi]
test esi, esi
je 0x10007318
call fcn.100068e8
push edi
call fcn.1000ad67
pop ecx
mov esi, ebx
call fcn.100068e8
push dword [esp + 0x18]
call fcn.1000ad67
pop ecx
push dword [ebp + 8]
call dword [0x10019028]
mov edi, dword [esp + 0x28]
push edi
call fcn.1000ad67
pop ecx
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x2c]
jle 0x10006fdb
jmp 0x10007385
push dword [ebp + 0x18]
mov esi, dword [edi]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x54]
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x64]
call fcn.10006e41
jmp 0x1000731f
test ebx, ebx
je 0x10007385
mov esi, ebx
call fcn.100068e8
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14