Function at 0x100d3db0
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 0x100d3e67
mov dword [ebp - 0x18], ecx
jmp 0x100d3e6d
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 0x100d3ec0
cmp byte [ebp - 0x11], 0
je 0x100d3e84
mov dword [ebp - 0x18], ecx
jmp 0x100d3e8d
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 0x100d3ec0
cmp byte [ebp - 0x11], 0
je 0x100d3ea4
mov dword [ebp - 0x18], ecx
jmp 0x100d3ead
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 0x100d3ec0
xor ecx, ecx
jmp 0x100d3f86
cmp byte [ebp - 0x11], 0
je 0x100d3ece
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x18], ecx
jmp 0x100d3ed7
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 0x100d3f2a
cmp byte [ebp - 0x11], 0
je 0x100d3eee
mov dword [ebp - 0x18], ecx
jmp 0x100d3ef7
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 0x100d3f2a
cmp byte [ebp - 0x11], 0
je 0x100d3f0e
mov dword [ebp - 0x18], ecx
jmp 0x100d3f17
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 0x100d3f2a
mov ecx, 1
jmp 0x100d3f86
cmp byte [ebp - 0x11], 0
je 0x100d3f38
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x18], ecx
jmp 0x100d3f41
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 0x100d3f81
cmp byte [ebp - 0x11], 0
je 0x100d3f58
mov dword [ebp - 0x18], ecx
jmp 0x100d3f5e
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 0x100d3f81
cmp byte [ebp - 0x11], 0
jne 0x100d3f76
lea ecx, [eax + 0x180]
cmp dword [ecx + 0x30], 1
mov ecx, 2
ja 0x100d3f86
mov ecx, 3
cmp dword [eax + 0x48], 0
jne 0x100d3f9c
cmp dword [eax + 0x50], 0
jne 0x100d3fc8
cmp dword [eax + 0x58], 0
jne 0x100d3fc8
xor eax, eax
jmp 0x100d3fcd
cmp dword [eax + 0x48], 1
jne 0x100d3fb5
cmp dword [eax + 0x50], 1
jne 0x100d3fc8
cmp dword [eax + 0x58], 1
jne 0x100d3fc8
mov eax, 1
jmp 0x100d3fcd
jbe 0x100d3fc8
cmp dword [eax + 0x50], 1
jbe 0x100d3fc8
cmp dword [eax + 0x58], 1
mov eax, 2
ja 0x100d3fcd
mov eax, 3
jmp dword [ecx*4 + 0x100d429c]