Function at 0x100cbe70
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b0500
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x101bf2c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
push 0
mov dword [ebp - 4], 0
call fcn.100e8b70
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push eax
push 0
mov byte [ebp - 4], 1
call fcn.100e8c20
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebx + 4]
sub ecx, dword [eax + 4]
mov edx, dword [edi + 0xc]
imul ecx, edx
sub ecx, dword [eax]
add ecx, dword [ebx]
imul ecx, dword [edi + 0x30]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
add ecx, dword [edi + 0x10]
mov dword [ebp - 0x1c], ecx
mov cl, byte [eax + 0x147c]
mov byte [ebp - 0xd], cl
lea ecx, [eax + 0x180]
cmp byte [ebp - 0xd], 0
mov dword [ebp - 0x20], ecx
lea ecx, [eax + 0x2f0]
je 0x100cbf24
mov dword [ebp - 0x2c], ecx
jmp 0x100cbf2a
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x20], 0
mov eax, dword [ebp - 0x14]
jne 0x100cbf7d
cmp byte [ebp - 0xd], 0
je 0x100cbf41
mov dword [ebp - 0x2c], ecx
jmp 0x100cbf4a
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
mov edx, dword [edi + 0xc]
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x28], 0
mov eax, dword [ebp - 0x14]
jne 0x100cbf7d
cmp byte [ebp - 0xd], 0
je 0x100cbf61
mov dword [ebp - 0x2c], ecx
jmp 0x100cbf6a
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
mov edx, dword [edi + 0xc]
mov esi, dword [ebp - 0x2c]
cmp dword [esi + 0x30], 0
mov esi, dword [ebp - 0x24]
jne 0x100cbf7d
xor ecx, ecx
jmp 0x100cc043
cmp byte [ebp - 0xd], 0
je 0x100cbf8b
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x2c], ecx
jmp 0x100cbf94
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp - 0x2c]
cmp dword [esi + 0x20], 1
mov esi, dword [ebp - 0x24]
jne 0x100cbfe7
cmp byte [ebp - 0xd], 0
je 0x100cbfab
mov dword [ebp - 0x2c], ecx
jmp 0x100cbfb4
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
mov edx, dword [edi + 0xc]
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx + 0x28], 1
mov ebx, dword [ebp + 0x14]
jne 0x100cbfe7
cmp byte [ebp - 0xd], 0
je 0x100cbfcb
mov dword [ebp - 0x2c], ecx
jmp 0x100cbfd4
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
mov edx, dword [edi + 0xc]
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x30], 1
mov eax, dword [ebp - 0x14]
jne 0x100cbfe7
mov ecx, 1
jmp 0x100cc043
cmp byte [ebp - 0xd], 0
je 0x100cbff5
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x2c], ecx
jmp 0x100cbffe
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp - 0x2c]
cmp dword [esi + 0x20], 1
mov esi, dword [ebp - 0x24]
jbe 0x100cc03e
cmp byte [ebp - 0xd], 0
je 0x100cc015
mov dword [ebp - 0x2c], ecx
jmp 0x100cc01b
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x2c]
cmp dword [edi + 0x28], 1
mov edi, dword [ebp - 0x28]
jbe 0x100cc03e
cmp byte [ebp - 0xd], 0
jne 0x100cc033
lea ecx, [eax + 0x180]
cmp dword [ecx + 0x30], 1
mov ecx, 2
ja 0x100cc043
mov ecx, 3
cmp dword [eax + 0x48], 0
jne 0x100cc059
cmp dword [eax + 0x50], 0
jne 0x100cc085
cmp dword [eax + 0x58], 0
jne 0x100cc085
xor eax, eax
jmp 0x100cc08a
cmp dword [eax + 0x48], 1
jne 0x100cc072
cmp dword [eax + 0x50], 1
jne 0x100cc085
cmp dword [eax + 0x58], 1
jne 0x100cc085
mov eax, 1
jmp 0x100cc08a
jbe 0x100cc085
cmp dword [eax + 0x50], 1
jbe 0x100cc085
cmp dword [eax + 0x58], 1
mov eax, 2
ja 0x100cc08a
mov eax, 3
jmp dword [ecx*4 + 0x100cc350]