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

Disassembly:
sub esp, 0x84
push ebx
push ebp
mov ebx, ecx
mov ebp, dword [ebx + 8]
push esi
push edi
mov ecx, ebp
mov dword [esp + 0x10], 1
mov dword [esp + 0x28], ebp
call fcn.1008c7e0
mov ecx, ebp
mov dword [esp + 0x50], eax
call fcn.100969f0
mov ecx, dword [ebp + 0x1f4]
mov dword [esp + 0x5c], eax
call fcn.100555c0
mov esi, eax
mov dword [esp + 0x18], esi
jmp 0x100b6b00
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x28]
lea esp, [esp]
xor edi, edi
cmp esi, 1
mov dword [esp + 0x14], edi
je 0x100b6b10
cmp esi, 3
jne 0x100b6b1a
mov eax, dword [ebx + 0x24]
mov edi, dword [eax + 8]
mov dword [esp + 0x14], edi
test byte [esp + 0x12], 4
je 0x100b6cb4
cmp esi, 1
mov dword [esp + 0x10], 1
je 0x100b6b5a
cmp esi, 3
je 0x100b6b5a
cmp esi, 2
jne 0x100b6ca8
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx + 0x2f4]
mov dword [esp + 0x10], 4
jmp 0x100b6ca8
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax + 0xc]
mov dword [ebx + 0x24], ecx
mov eax, dword [ebx + 0x20]
lea edx, [eax + 8]
cmp ecx, edx
jne 0x100b6b73
mov eax, dword [eax + 0x14]
mov dword [ebx + 0x24], eax
mov ecx, dword [ebx + 0x24]
mov eax, dword [ecx + 8]
mov edx, dword [ebx + 8]
mov dword [esp + 0x14], eax
mov ecx, dword [edx + 0x1f4]
mov esi, dword [eax + 0x40]
mov ebp, dword [eax + 0x44]
call fcn.10055530
mov edi, eax
mov eax, dword [edi + 0x50]
cmp esi, eax
mov edx, dword [edi + 0x54]
jne 0x100b6ba1
cmp ebp, edx
je 0x100b6bca
mov ecx, dword [edi + 0x48]
sub ecx, eax
mov dword [esp + 0x6c], ecx
mov ecx, dword [edi + 0x4c]
sbb ecx, edx
mov edx, esi
sub edx, eax
mov eax, ebp
sbb eax, dword [edi + 0x54]
mov dword [esp + 0x78], edx
cmp eax, ecx
jb 0x100b6c2b
ja 0x100b6bca
mov eax, dword [esp + 0x6c]
cmp edx, eax
jbe 0x100b6c2b
push ebp
push esi
mov ecx, edi
call fcn.10061d00
test al, al
jne 0x100b6c52
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx + 0x1c]
cmp edx, dword [ebx + 0x44]
jae 0x100b6bf6
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], ecx
jmp 0x100b6c52
call fcn.10054450
test eax, eax
je 0x100b6c0b
push 1
push 0x32
call fcn.10054f50
add esp, 8
push ebp
push esi
mov ecx, edi
call fcn.10061d60
call fcn.10054450
test eax, eax
je 0x100b6c52
push 0
push 0x32
call fcn.10054f50
add esp, 8
jmp 0x100b6c52
mov edx, dword [ebx + 0x20]
mov eax, dword [edx + 0x1c]
cmp eax, dword [ebx + 0x44]
jae 0x100b6c4a
mov ecx, dword [ebx + 0x24]
mov edx, dword [ecx + 8]
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], edx
jmp 0x100b6c52
mov dword [esp + 0x10], 4
mov edx, dword [edi + 0x48]
mov ecx, dword [ebx + 0x48]
cmp esi, ecx
mov eax, dword [ebx + 0x4c]
mov edi, dword [edi + 0x4c]
mov dword [esp + 0x84], edx
mov dword [esp + 0x64], eax
jne 0x100b6c71
cmp ebp, eax
je 0x100b6ca4
sub edx, ecx
mov eax, edi
sbb eax, dword [esp + 0x64]
sub esi, ecx
sbb ebp, dword [esp + 0x64]
cmp ebp, eax
ja 0x100b6ca4
jb 0x100b6c89
cmp esi, edx
ja 0x100b6ca4
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
push 1
call dword [eax + 0x2f4]
mov ecx, dword [esp + 0x84]
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], edi
mov esi, dword [esp + 0x18]
mov ecx, dword [ebx + 0x10]
call fcn.1008c3e0
mov edi, dword [esp + 0x14]
cmp esi, 1
je 0x100b6cbe
cmp esi, 3
jne 0x100b6d08
test byte [esp + 0x10], 1
je 0x100b6d08
test edi, edi
je 0x100b6d08
cmp dword [edi + 0x20], 0
jne 0x100b6d08
mov ecx, dword [ebx + 8]
call fcn.1008c7e0
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x94]
push eax
call dword [edx + 8]
mov eax, dword [eax]
test al, 1
mov dword [esp + 0x10], eax
je 0x100b6d04
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x100b6d04
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], ecx
mov edi, dword [esp + 0x14]
mov edx, dword [ebx + 0x10]
mov esi, dword [edx + 0x10]
mov eax, dword [edx + 8]
add eax, esi
and eax, 0x3f
je 0x100b6d30
mov ecx, 0x40
sub ecx, eax
je 0x100b6d30
lea eax, [esi + ecx]
cmp dword [edx + 0xc], eax
jb 0x100b6d30
mov dword [edx + 0x10], eax
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
xor esi, esi
and ebp, 1
je 0x100b6d83
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x100b6d61
cmp eax, 3
je 0x100b6d61
xor ecx, ecx
cmp eax, 2
jne 0x100b6d85
mov eax, dword [ebx + 0x28]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov edx, dword [ebx + 0x28]
mov esi, dword [edx + 8]
jmp 0x100b6d85
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x24]
mov ecx, dword [ecx + eax*4 + 0xc]
test ecx, ecx
mov esi, edi
je 0x100b6d81
call fcn.100aacb0
test eax, eax
je 0x100b6d81
mov esi, dword [esi + 0x28]
add esi, eax
jmp 0x100b6d83
xor esi, esi
xor ecx, ecx
xor edi, edi
cmp ebp, ecx
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
je 0x100b6dde
cmp dword [ebp + 0x1dc], ecx
je 0x100b6dde
lea eax, [esp + 0x58]
push eax
lea edx, [esp + 0x20]
push edx
push esi
push ecx
lea eax, [esp + 0x90]
push eax
mov ecx, ebx
call fcn.100b5bf0
mov ecx, dword [eax]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x10], ecx
xor ecx, ecx
test byte [esp + 0x10], 1
je 0x100b6e0e
cmp dword [ebp + 0x1e0], ecx
je 0x100b6e0e
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x28]
push eax
push esi
push 1
lea ecx, [esp + 0x78]
push ecx
mov ecx, ebx
call fcn.100b5bf0
mov edx, dword [eax]
mov dword [esp + 0x10], edx
xor ecx, ecx
mov eax, dword [esp + 0x5c]
cmp byte [eax + 0x1ae9], 0
je 0x100b6e52
test byte [esp + 0x10], 1
je 0x100b6fb0
cmp dword [ebp + 0x1e8], ecx
je 0x100b6e52
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x24]
push edx
push esi
push 1
lea eax, [esp + 0x84]
push eax
mov ecx, ebx
call fcn.100b5bf0
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
xor ecx, ecx
test byte [esp + 0x10], 1
je 0x100b6fb0
cmp dword [ebp + 0x1ec], ecx
je 0x100b6e87
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x30]
push eax
push esi
push 2
lea ecx, [esp + 0x9c]
push ecx
mov ecx, ebx
call fcn.100b5bf0
mov edx, dword [eax]
mov dword [esp + 0x10], edx
test byte [esp + 0x10], 1
je 0x100b6fb0
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x4c8]
mov eax, dword [esp + 0x24]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x4c0]
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x4bc]
mov ecx, dword [esp + 0x20]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x4c4]
mov eax, dword [esp + 0x2c]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x4cc]
cmp dword [esp + 0x18], 2
jne 0x100b6fb0
mov edx, dword [esi]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call dword [edx + 0x564]
cmp dword [esp + 0x1c], 0
mov ecx, 0xfffffc
je 0x100b6f1d
mov edx, edi
shl edx, 0x16
xor edx, dword [esp + 0x34]
shl edi, 0x16
and edx, ecx
xor edx, edi
or edx, 3
mov dword [esp + 0x34], edx
jmp 0x100b6f25
and dword [esp + 0x34], 0xfffffc
cmp dword [esp + 0x24], 0
je 0x100b6f49
mov eax, dword [esp + 0x54]
mov edx, eax
shl edx, 0x16
xor edx, dword [esp + 0x38]
shl eax, 0x16
and edx, ecx
xor edx, eax
or edx, 3
mov dword [esp + 0x38], edx
jmp 0x100b6f4d
and dword [esp + 0x38], ecx
and dword [esp + 0x3c], ecx
cmp dword [esp + 0x20], 0
je 0x100b6f75
mov eax, dword [esp + 0x48]
mov edx, eax
shl edx, 0x16
xor edx, dword [esp + 0x40]
shl eax, 0x16
and edx, ecx
xor edx, eax
or edx, 3
mov dword [esp + 0x40], edx
jmp 0x100b6f79
and dword [esp + 0x40], ecx
cmp dword [esp + 0x2c], 0
je 0x100b6f9d
mov eax, dword [esp + 0x4c]
mov edx, eax
shl edx, 0x16
xor edx, dword [esp + 0x44]
shl eax, 0x16
and edx, ecx
xor edx, eax
or edx, 3
mov dword [esp + 0x44], edx
jmp 0x100b6fa1
and dword [esp + 0x44], ecx
mov eax, dword [esi]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call dword [eax + 0x4d0]
test byte [esp + 0x12], 4
jne 0x100b6af4
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x84
ret 4