Function at 0x100cb940
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 0x100cb9f4
mov dword [ebp - 0x2c], ecx
jmp 0x100cb9fa
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 0x100cba4d
cmp byte [ebp - 0xd], 0
je 0x100cba11
mov dword [ebp - 0x2c], ecx
jmp 0x100cba1a
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 0x100cba4d
cmp byte [ebp - 0xd], 0
je 0x100cba31
mov dword [ebp - 0x2c], ecx
jmp 0x100cba3a
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 0x100cba4d
xor ecx, ecx
jmp 0x100cbb13
cmp byte [ebp - 0xd], 0
je 0x100cba5b
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x2c], ecx
jmp 0x100cba64
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 0x100cbab7
cmp byte [ebp - 0xd], 0
je 0x100cba7b
mov dword [ebp - 0x2c], ecx
jmp 0x100cba84
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 0x100cbab7
cmp byte [ebp - 0xd], 0
je 0x100cba9b
mov dword [ebp - 0x2c], ecx
jmp 0x100cbaa4
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 0x100cbab7
mov ecx, 1
jmp 0x100cbb13
cmp byte [ebp - 0xd], 0
je 0x100cbac5
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x2c], ecx
jmp 0x100cbace
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 0x100cbb0e
cmp byte [ebp - 0xd], 0
je 0x100cbae5
mov dword [ebp - 0x2c], ecx
jmp 0x100cbaeb
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 0x100cbb0e
cmp byte [ebp - 0xd], 0
jne 0x100cbb03
lea ecx, [eax + 0x180]
cmp dword [ecx + 0x30], 1
mov ecx, 2
ja 0x100cbb13
mov ecx, 3
cmp dword [eax + 0x48], 0
jne 0x100cbb29
cmp dword [eax + 0x50], 0
jne 0x100cbb55
cmp dword [eax + 0x58], 0
jne 0x100cbb55
xor eax, eax
jmp 0x100cbb5a
cmp dword [eax + 0x48], 1
jne 0x100cbb42
cmp dword [eax + 0x50], 1
jne 0x100cbb55
cmp dword [eax + 0x58], 1
jne 0x100cbb55
mov eax, 1
jmp 0x100cbb5a
jbe 0x100cbb55
cmp dword [eax + 0x50], 1
jbe 0x100cbb55
cmp dword [eax + 0x58], 1
mov eax, 2
ja 0x100cbb5a
mov eax, 3
jmp dword [ecx*4 + 0x100cbe20]