Function at 0x100d3870
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bc7f0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x101cc284]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
push 0
mov dword [ebp - 4], 0
call fcn.100f0f70
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
push eax
push 0
mov byte [ebp - 4], 1
call fcn.100f1020
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
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 - 0x20], eax
mov eax, dword [ebp - 0x1c]
add ecx, dword [edi + 0x10]
mov dword [ebp - 0x24], ecx
mov cl, byte [eax + 0x147c]
mov byte [ebp - 0x11], cl
lea ecx, [eax + 0x180]
cmp byte [ebp - 0x11], 0
mov dword [ebp - 0x28], ecx
lea ecx, [eax + 0x2f0]
je 0x100d3927
mov dword [ebp - 0x18], ecx
jmp 0x100d392d
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x20], 0
mov eax, dword [ebp - 0x1c]
jne 0x100d3980
cmp byte [ebp - 0x11], 0
je 0x100d3944
mov dword [ebp - 0x18], ecx
jmp 0x100d394d
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
mov edx, dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x28], 0
mov eax, dword [ebp - 0x1c]
jne 0x100d3980
cmp byte [ebp - 0x11], 0
je 0x100d3964
mov dword [ebp - 0x18], ecx
jmp 0x100d396d
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
mov edx, dword [edi + 0xc]
mov esi, dword [ebp - 0x18]
cmp dword [esi + 0x30], 0
mov esi, dword [ebp - 0x2c]
jne 0x100d3980
xor ecx, ecx
jmp 0x100d3a46
cmp byte [ebp - 0x11], 0
je 0x100d398e
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x18], ecx
jmp 0x100d3997
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp - 0x18]
cmp dword [esi + 0x20], 1
mov esi, dword [ebp - 0x2c]
jne 0x100d39ea
cmp byte [ebp - 0x11], 0
je 0x100d39ae
mov dword [ebp - 0x18], ecx
jmp 0x100d39b7
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
mov edx, dword [edi + 0xc]
mov ebx, dword [ebp - 0x18]
cmp dword [ebx + 0x28], 1
mov ebx, dword [ebp + 0x14]
jne 0x100d39ea
cmp byte [ebp - 0x11], 0
je 0x100d39ce
mov dword [ebp - 0x18], ecx
jmp 0x100d39d7
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
mov edx, dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x30], 1
mov eax, dword [ebp - 0x1c]
jne 0x100d39ea
mov ecx, 1
jmp 0x100d3a46
cmp byte [ebp - 0x11], 0
je 0x100d39f8
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x18], ecx
jmp 0x100d3a01
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp - 0x18]
cmp dword [esi + 0x20], 1
mov esi, dword [ebp - 0x2c]
jbe 0x100d3a41
cmp byte [ebp - 0x11], 0
je 0x100d3a18
mov dword [ebp - 0x18], ecx
jmp 0x100d3a1e
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x18]
cmp dword [edi + 0x28], 1
mov edi, dword [ebp - 0x30]
jbe 0x100d3a41
cmp byte [ebp - 0x11], 0
jne 0x100d3a36
lea ecx, [eax + 0x180]
cmp dword [ecx + 0x30], 1
mov ecx, 2
ja 0x100d3a46
mov ecx, 3
cmp dword [eax + 0x48], 0
jne 0x100d3a5c
cmp dword [eax + 0x50], 0
jne 0x100d3a88
cmp dword [eax + 0x58], 0
jne 0x100d3a88
xor eax, eax
jmp 0x100d3a8d
cmp dword [eax + 0x48], 1
jne 0x100d3a75
cmp dword [eax + 0x50], 1
jne 0x100d3a88
cmp dword [eax + 0x58], 1
jne 0x100d3a88
mov eax, 1
jmp 0x100d3a8d
jbe 0x100d3a88
cmp dword [eax + 0x50], 1
jbe 0x100d3a88
cmp dword [eax + 0x58], 1
mov eax, 2
ja 0x100d3a8d
mov eax, 3
jmp dword [ecx*4 + 0x100d3d5c]