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

Disassembly:
push 0xffffffffffffffff
push 0x1001fd90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
xor ecx, ecx
push edi
mov eax, dword [esi + 0x7c]
mov dword [esp + 0x10], ecx
test eax, eax
jbe 0x1000696c
mov eax, dword [esi + 0x78]
mov ebx, 1
shl ecx, 2
mov ebp, dword [ecx + eax]
mov eax, dword [esi + 8]
add eax, ecx
mov cl, byte [esi + 0x60]
test cl, cl
mov dword [esp + 0x1c], ebp
jne 0x100068ea
mov ebx, dword [eax]
mov dword [esp + 0x18], 1
mov edi, dword [ebp + 0x74]
add ebp, 0x70
test edi, edi
je 0x100068c7
mov edx, dword [ebp]
dec edi
mov ecx, dword [edx + edi*4]
test ecx, ecx
je 0x100068c3
push 1
call fcn.10007270
test edi, edi
jne 0x100068b1
test ebx, ebx
mov dword [ebp + 4], 0
jbe 0x100068ff
mov edi, ebx
push 4
call fcn.100017f0
add esp, 4
test eax, eax
je 0x100068f2
mov dword [eax], 0
jmp 0x100068f4
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
jmp 0x100068a7
xor eax, eax
push eax
mov ecx, ebp
call fcn.10001290
dec edi
jne 0x100068d4
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 0x80]
lea ebp, [eax + 0x7c]
test edi, edi
je 0x10006926
mov ecx, dword [ebp]
dec edi
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x10006922
push 1
call fcn.10007270
test edi, edi
jne 0x10006910
mov edi, dword [esp + 0x18]
mov dword [ebp + 4], 0
test edi, edi
jbe 0x10006958
push 4
call fcn.100017f0
add esp, 4
test eax, eax
je 0x1000694b
mov dword [eax], 0
jmp 0x1000694d
xor eax, eax
push eax
mov ecx, ebp
call fcn.10001290
dec edi
jne 0x10006935
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x7c]
inc ecx
cmp ecx, eax
mov dword [esp + 0x10], ecx
jb 0x1000687f
mov eax, dword [esi + 0x18]
mov dword [esp + 0x10], 0
test eax, eax
jbe 0x10006ac0
mov edx, dword [esi + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x3c]
lea edx, [edx + eax*8]
mov eax, dword [edx]
mov ebp, dword [ecx + eax*4]
mov ecx, dword [esi + 0x30]
sub eax, dword [ecx + ebp*4]
mov ecx, eax
mov al, byte [esi + 0x60]
test al, al
je 0x100069a5
mov edi, dword [edx + 4]
jmp 0x100069a7
mov edi, ebp
test al, al
mov ebx, ebp
jne 0x100069b0
mov ebx, dword [edx + 4]
mov dl, al
mov dword [esp + 0x1c], ebx
neg dl
sbb edx, edx
not edx
and edx, ecx
neg al
sbb eax, eax
mov ebp, edx
and eax, ecx
mov edx, eax
mov eax, dword [esi + 0x78]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + ebx*4]
mov eax, dword [eax + edi*4]
mov ebx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x7c]
mov eax, dword [eax + 0x70]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esi + 0x6c]
mov eax, dword [eax + ebp*4]
push edx
mov ecx, dword [ecx + ebx*4]
push eax
call fcn.10003680
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], ebx
mov edx, dword [esi + 0x78]
mov byte [esp + 0x2c], 1
mov eax, dword [edx + edi*4]
mov ecx, dword [eax + 0x18]
cmp ecx, ebx
je 0x10006a16
mov eax, ecx
jmp 0x10006a19
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x10021518
push eax
call dword [ecx]
mov eax, dword [esi + 0x78]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x18]
cmp ecx, ebx
je 0x10006a3d
mov eax, ecx
jmp 0x10006a40
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push 0x10021518
push eax
call dword [edx]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, ebx
je 0x10006a87
cmp ecx, ebx
je 0x10006a87
mov edx, dword [eax]
push 0x80000
push ebp
push eax
call dword [edx + 0xc]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push 0x80000
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
mov byte [esp + 0x2c], 0
je 0x10006a9a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x2c], 0xffffffff
je 0x10006aac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x1000697f
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x78]
mov cl, byte [esi + 0x60]
mov ebx, dword [esp + 0x34]
mov eax, dword [eax + edx*4]
test cl, cl
je 0x10006af4
mov ecx, dword [eax + 0x70]
mov edi, dword [ebx]
test edi, edi
mov ebp, dword [ecx]
je 0x10006ae5
mov edx, dword [edi]
push edi
call dword [edx + 4]
mov eax, dword [ebp]
test eax, eax
je 0x10006b16
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10006b16
mov edx, dword [eax + 0x7c]
mov eax, dword [esp + 0x38]
mov edi, dword [eax]
mov ebp, dword [edx]
test edi, edi
je 0x10006b09
mov ecx, dword [edi]
push edi
call dword [ecx + 4]
mov eax, dword [ebp]
test eax, eax
je 0x10006b16
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [ebp], edi
mov ecx, dword [esi + 0x24]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
jbe 0x10006ba0
mov edx, dword [esp + 0x38]
sub edx, ebx
mov dword [esp + 0x38], edx
jmp 0x10006b36
mov edx, dword [esp + 0x38]
mov ecx, dword [esi + 0x20]
mov edi, dword [esi + 0x30]
mov eax, dword [ecx + eax*4]
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + eax*4]
mov ebp, dword [edi + ecx*4]
mov edi, dword [esi + 0x78]
sub eax, ebp
cmp byte [esi + 0x60], 0
mov ecx, dword [edi + ecx*4]
je 0x10006b6b
mov ecx, dword [ecx + 0x7c]
mov edi, dword [edx + ebx]
test edi, edi
mov ebp, dword [ecx + eax*4]
je 0x10006b7d
mov edx, dword [edi]
push edi
call dword [edx + 4]
jmp 0x10006b7d
mov edx, dword [ecx + 0x70]
mov edi, dword [ebx]
test edi, edi
mov ebp, dword [edx + eax*4]
je 0x10006b7d
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [ebp]
test eax, eax
je 0x10006b8a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [ebp], edi
mov ecx, dword [esi + 0x24]
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x10006b32
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8