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

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 8]
mov ecx, edi
mov dword [esp + 0x10], 1
mov dword [esp + 0x18], edi
call fcn.1008c7e0
mov ebx, eax
mov ecx, edi
mov dword [esp + 0x20], ebx
call fcn.100969f0
mov edx, dword [ebx + 0x208]
mov ebp, dword [ebx + 0x218]
mov ecx, dword [ebx + 0x200]
shl edx, 5
mov dword [esp + 0x24], edx
mov edx, dword [ebx + 0x210]
shl ebp, 5
shl edx, 5
mov dword [esp + 0x3c], ebp
add ebp, edx
add ebp, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x1f8]
shl ecx, 5
shl eax, 5
add ebp, ecx
mov dword [esp + 0x34], ecx
add ebp, eax
mov ecx, edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], ebp
call fcn.10096a00
test ebp, ebp
mov eax, dword [eax + 0x250]
mov dword [esp + 0x2c], eax
je 0x100b74a7
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx + 8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], 0
lea ebx, [ebx]
test byte [esp + 0x12], 4
je 0x100b721b
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x18], ecx
mov eax, dword [esi + 0x14]
lea edx, [eax + 8]
cmp ecx, edx
mov dword [esp + 0x10], 1
jne 0x100b70bc
mov eax, dword [eax + 0x14]
mov dword [esi + 0x18], eax
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 8]
mov edx, dword [esi + 8]
mov dword [esp + 0x14], eax
mov ecx, dword [edx + 0x1f4]
mov edi, dword [eax + 0x40]
mov ebx, dword [eax + 0x44]
call fcn.10055530
mov ebp, eax
mov eax, dword [ebp + 0x50]
cmp edi, eax
mov edx, dword [ebp + 0x54]
jne 0x100b70ea
cmp ebx, edx
je 0x100b7113
mov ecx, dword [ebp + 0x48]
sub ecx, eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebp + 0x4c]
sbb ecx, edx
mov edx, edi
sub edx, eax
mov eax, ebx
sbb eax, dword [ebp + 0x54]
mov dword [esp + 0x64], edx
cmp eax, ecx
jb 0x100b7186
ja 0x100b7113
mov eax, dword [esp + 0x5c]
cmp edx, eax
jbe 0x100b7186
push ebx
push edi
mov ecx, ebp
call fcn.10061d00
test al, al
jne 0x100b71bb
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx + 0x1c]
cmp edx, dword [esi + 0x40]
jae 0x100b7151
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call fcn.100b5970
mov eax, dword [eax]
test al, 1
mov dword [esp + 0x10], eax
je 0x100b7151
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx + 8]
mov dword [esp + 0x14], edx
jmp 0x100b71bb
call fcn.10054450
test eax, eax
je 0x100b7166
push 1
push 0x33
call fcn.10054f50
add esp, 8
push ebx
push edi
mov ecx, ebp
call fcn.10061d60
call fcn.10054450
test eax, eax
je 0x100b71bb
push 0
push 0x33
call fcn.10054f50
add esp, 8
jmp 0x100b71bb
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x1c]
cmp ecx, dword [esi + 0x40]
jae 0x100b71b3
lea edx, [esp + 0x48]
push edx
mov ecx, esi
call fcn.100b5970
mov eax, dword [eax]
test al, 1
mov dword [esp + 0x10], eax
je 0x100b71bb
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 8]
mov dword [esp + 0x14], ecx
jmp 0x100b71bb
mov dword [esp + 0x10], 4
mov edx, dword [ebp + 0x48]
mov ecx, dword [esi + 0x48]
cmp edi, ecx
mov eax, dword [esi + 0x4c]
mov ebp, dword [ebp + 0x4c]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x58], eax
jne 0x100b71d7
cmp ebx, eax
je 0x100b7207
sub edx, ecx
mov eax, ebp
sbb eax, dword [esp + 0x58]
sub edi, ecx
sbb ebx, dword [esp + 0x58]
cmp ebx, eax
ja 0x100b7207
jb 0x100b71ef
cmp edi, edx
ja 0x100b7207
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push 1
call dword [edx + 0x2f4]
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], ebp
mov ecx, dword [esi + 0xc]
call fcn.1008c3e0
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
and eax, 1
je 0x100b7265
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x100b7265
cmp dword [ecx + 0x20], 0
jne 0x100b7265
mov ecx, dword [esi + 8]
call fcn.1008c7e0
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x50]
push eax
call dword [edx + 8]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
and eax, 1
je 0x100b7265
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x100b7265
mov edx, dword [esp + 0x14]
mov dword [ecx + 8], edx
test eax, eax
je 0x100b72af
mov edx, dword [esi + 0xc]
mov ebx, dword [edx + 0x10]
mov eax, dword [edx + 8]
add eax, ebx
and eax, 0x3f
je 0x100b728d
mov ecx, 0x40
sub ecx, eax
je 0x100b728d
lea eax, [ebx + ecx]
cmp dword [edx + 0xc], eax
jb 0x100b728d
mov dword [edx + 0x10], eax
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esi + 0xc]
push ebp
lea edx, [esp + 0x5c]
push edx
call fcn.1008c4d0
mov eax, dword [eax]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, 0x40000
jne 0x100b7090
and eax, 1
mov dword [esp + 0x18], eax
je 0x100b73d3
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x34]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ecx + 0x24]
mov ecx, dword [ecx + eax*4 + 0xc]
test ecx, ecx
je 0x100b73d3
call fcn.100aacb0
test eax, eax
je 0x100b73d3
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x28]
add ecx, eax
je 0x100b73d3
add ecx, dword [esp + 0x1c]
cmp dword [esp + 0x30], 0
mov dword [esp + 0x18], ecx
je 0x100b7327
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call fcn.100b4de0
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x34], 0
je 0x100b734c
test byte [esp + 0x10], 1
je 0x100b734c
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call fcn.100b4ee0
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x24], 0
je 0x100b7371
test byte [esp + 0x10], 1
je 0x100b7371
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call fcn.100b5280
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x38], 0
je 0x100b7396
test byte [esp + 0x10], 1
je 0x100b7396
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call fcn.100b5600
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x3c], 0
je 0x100b73bb
test byte [esp + 0x10], 1
je 0x100b73bb
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call fcn.100b56b0
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
and eax, 1
mov dword [esp + 0x18], eax
je 0x100b73d3
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x28]
add dword [esp + 0x1c], eax
cmp dword [esp + 0x18], 0
je 0x100b74a1
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 0x368]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi]
push ebp
push ecx
mov ecx, edi
call dword [eax + 0x370]
mov ecx, edi
call fcn.10096a00
mov eax, dword [eax + 0x19c]
lea ebp, [eax + ebp - 1]
add eax, 0xffffffff
not eax
mov ecx, edi
and ebp, eax
call fcn.10096a00
mov ebx, dword [eax + 0x198]
mov ecx, edi
call fcn.10096a00
mov edx, dword [eax + 0x194]
mov ecx, edi
mov dword [esp + 0x3c], edx
call fcn.10096a00
mov ecx, eax
xor edx, edx
mov eax, ebp
div dword [ecx + 0x1a0]
cmp eax, ebx
jbe 0x100b7449
mov eax, ebx
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
mov dword [esp + 0x24], ecx
jb 0x100b7459
mov dword [esp + 0x24], eax
mov ecx, edi
call fcn.10096a00
mov ebx, dword [eax + 0x140]
mov ecx, edi
call fcn.10096a00
mov edx, dword [esp + 0x40]
mov ecx, dword [eax + 0x13c]
mov eax, dword [edx + 0x173c]
xor edx, edx
div ebp
cmp eax, ebx
jbe 0x100b7487
mov eax, ebx
cmp eax, ecx
jae 0x100b748d
mov eax, ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [edi]
push ecx
push eax
mov ecx, edi
call dword [edx + 0x360]
mov ebx, dword [esp + 0x20]
mov byte [esi + 0x1c], 1
jmp 0x100b74df
mov edx, dword [edi]
push 0
mov ecx, edi
call dword [edx + 0x368]
mov eax, dword [edi]
push 0
push 0
mov ecx, edi
call dword [eax + 0x370]
mov ebp, dword [edi]
mov ecx, edi
call fcn.10096a00
mov ecx, dword [eax + 0x194]
push ecx
push 0
mov ecx, edi
call dword [ebp + 0x360]
mov byte [esi + 0x1c], 0
mov ecx, dword [esp + 0x10]
test ecx, 0x30000
je 0x100b750d
mov ecx, ebx
call fcn.100ba170
mov ecx, esi
call fcn.100b6a30
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x64
ret 4
mov eax, dword [esp + 0x78]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x64
ret 4