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

Disassembly:
sub esp, 0x34
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
xor ebp, ebp
mov dword [esp + 0xc], esi
cmp eax, ebp
je 0x1006b50d
push eax
call fcn.10109eb5
add esp, 4
mov dword [esi + 0x10], ebp
cmp dword [esi + 0x5c], ebp
je 0x1006b538
mov eax, dword [esi + 0x54]
cmp eax, ebp
je 0x1006b525
push eax
call fcn.10109eb5
add esp, 4
mov eax, dword [esi + 0x58]
cmp eax, ebp
je 0x1006b535
push eax
call fcn.10109eb5
add esp, 4
mov dword [esi + 0x5c], ebp
cmp dword [esi + 0x70], ebp
je 0x1006b570
mov eax, dword [esi + 0x64]
cmp eax, ebp
je 0x1006b54d
push eax
call fcn.10109eb5
add esp, 4
mov eax, dword [esi + 0x68]
cmp eax, ebp
je 0x1006b55d
push eax
call fcn.10109eb5
add esp, 4
mov eax, dword [esi + 0x6c]
cmp eax, ebp
je 0x1006b56d
push eax
call fcn.10109eb5
add esp, 4
mov dword [esi + 0x70], ebp
cmp dword [esi + 0x84], ebp
je 0x1006b5b1
mov eax, dword [esi + 0x78]
cmp eax, ebp
je 0x1006b588
push eax
call fcn.10109eb5
add esp, 4
mov eax, dword [esi + 0x7c]
cmp eax, ebp
je 0x1006b598
push eax
call fcn.10109eb5
add esp, 4
mov eax, dword [esi + 0x80]
cmp eax, ebp
je 0x1006b5ab
push eax
call fcn.10109eb5
add esp, 4
mov dword [esi + 0x84], ebp
cmp dword [esi + 0xb4], ebp
je 0x1006b867
mov eax, dword [esi + 0xac]
imul eax, dword [esi + 0xb0]
mov dword [esp + 0x30], ebp
test eax, eax
jbe 0x1006b84e
push ebx
push edi
xor edi, edi
mov dword [esp + 0x18], edi
mov edi, edi
mov ebx, dword [esi + 0xb4]
add ebx, edi
mov dword [esp + 0x30], ebx
cmp dword [ebx + 0x30], ebp
je 0x1006b827
mov dword [esp + 0x34], ebp
cmp dword [esi + 0xa8], ebp
jbe 0x1006b810
mov dword [esp + 0x10], ebp
lea esp, [esp]
mov edi, dword [ebx + 0x30]
add edi, dword [esp + 0x10]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x40], edi
cmp eax, ebp
je 0x1006b62b
push eax
call fcn.10109eb5
add esp, 4
mov eax, dword [edi + 0x4c]
cmp eax, ebp
je 0x1006b63b
push eax
call fcn.10109eb5
add esp, 4
mov eax, dword [edi + 0x50]
cmp eax, ebp
je 0x1006b64b
push eax
call fcn.10109eb5
add esp, 4
cmp dword [edi + 0x54], ebp
je 0x1006b7f2
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
mov eax, dword [edi + 0x54]
mov esi, dword [eax + ebx + 0x48]
add eax, ebx
mov dword [esp + 0x3c], esi
cmp esi, ebp
je 0x1006b7aa
cmp dword [esi + 0x10], ebp
je 0x1006b77f
xor eax, eax
cmp ecx, ebp
setne al
lea eax, [eax + eax + 1]
cmp eax, ebp
jbe 0x1006b76f
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], eax
lea esp, [esp]
mov ebx, dword [esi + 0x10]
add ebx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x1c]
cmp eax, ebp
je 0x1006b6b7
push eax
call fcn.10109eb5
add esp, 4
mov eax, dword [ebx + 0x20]
cmp eax, ebp
je 0x1006b6c7
push eax
call fcn.10109eb5
add esp, 4
cmp dword [ebx + 0x24], ebp
je 0x1006b75b
mov ecx, dword [ebx + 0x10]
imul ecx, dword [ebx + 0x14]
mov dword [esp + 0x20], ebp
test ecx, ecx
jbe 0x1006b74b
nop
mov edi, dword [ebx + 0x24]
mov eax, dword [edi + ebp + 0x2c]
add edi, ebp
test eax, eax
je 0x1006b6f6
push eax
call fcn.10109eb5
add esp, 4
mov esi, dword [edi + 0x30]
test esi, esi
je 0x1006b70b
call fcn.10063790
push esi
call fcn.100f5c66
add esp, 4
mov edi, dword [edi + 0x34]
test edi, edi
je 0x1006b72a
mov eax, dword [edi]
test eax, eax
je 0x1006b721
push eax
call fcn.10109eb5
add esp, 4
push edi
call fcn.100f5c66
add esp, 4
mov edx, dword [ebx + 0x10]
imul edx, dword [ebx + 0x14]
mov eax, dword [esp + 0x20]
inc eax
add ebp, 0x38
mov dword [esp + 0x20], eax
cmp eax, edx
jb 0x1006b6e0
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
xor ebp, ebp
mov ebx, dword [ebx + 0x24]
cmp ebx, ebp
je 0x1006b75b
push ebx
call fcn.10109eb5
add esp, 4
add dword [esp + 0x1c], 0x28
sub dword [esp + 0x24], 1
jne 0x1006b6a0
mov ebx, dword [esp + 0x2c]
mov eax, dword [esi + 0x10]
cmp eax, ebp
je 0x1006b77f
push eax
call fcn.10109eb5
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xb4]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + ecx + 0x30]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx + 0x54]
mov eax, dword [edx + ebx + 0x48]
cmp eax, ebp
je 0x1006b7aa
push eax
call fcn.10109eb5
add esp, 4
mov ecx, dword [esp + 0x28]
inc ecx
add ebx, 0x4c
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
cmp ecx, dword [edi + 0x14]
jbe 0x1006b660
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xb4]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + ecx + 0x30]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + ecx + 0x54]
cmp eax, ebp
je 0x1006b7ea
push eax
call fcn.10109eb5
add esp, 4
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
add dword [esp + 0x10], 0x58
inc eax
mov dword [esp + 0x34], eax
cmp eax, dword [esi + 0xa8]
jb 0x1006b610
mov edi, dword [esp + 0x18]
mov edx, dword [esi + 0xb4]
mov eax, dword [edi + edx + 0x30]
cmp eax, ebp
je 0x1006b827
push eax
call fcn.10109eb5
add esp, 4
mov ecx, dword [esi + 0xac]
imul ecx, dword [esi + 0xb0]
mov eax, dword [esp + 0x38]
inc eax
add edi, 0x34
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], edi
cmp eax, ecx
jb 0x1006b5e0
pop edi
pop ebx
mov eax, dword [esi + 0xb4]
cmp eax, ebp
je 0x1006b861
push eax
call fcn.10109eb5
add esp, 4
mov dword [esi + 0xb4], ebp
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
pop esi
pop ebp
add esp, 0x34
jmp eax