Function at 0x100d3330
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.1003b8a2
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 0x100d33e7
mov dword [ebp - 0x18], ecx
jmp 0x100d33ed
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 0x100d3440
cmp byte [ebp - 0x11], 0
je 0x100d3404
mov dword [ebp - 0x18], ecx
jmp 0x100d340d
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 0x100d3440
cmp byte [ebp - 0x11], 0
je 0x100d3424
mov dword [ebp - 0x18], ecx
jmp 0x100d342d
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 0x100d3440
xor ecx, ecx
jmp 0x100d3506
cmp byte [ebp - 0x11], 0
je 0x100d344e
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x18], ecx
jmp 0x100d3457
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 0x100d34aa
cmp byte [ebp - 0x11], 0
je 0x100d346e
mov dword [ebp - 0x18], ecx
jmp 0x100d3477
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 0x100d34aa
cmp byte [ebp - 0x11], 0
je 0x100d348e
mov dword [ebp - 0x18], ecx
jmp 0x100d3497
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 0x100d34aa
mov ecx, 1
jmp 0x100d3506
cmp byte [ebp - 0x11], 0
je 0x100d34b8
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x18], ecx
jmp 0x100d34c1
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 0x100d3501
cmp byte [ebp - 0x11], 0
je 0x100d34d8
mov dword [ebp - 0x18], ecx
jmp 0x100d34de
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 0x100d3501
cmp byte [ebp - 0x11], 0
jne 0x100d34f6
lea ecx, [eax + 0x180]
cmp dword [ecx + 0x30], 1
mov ecx, 2
ja 0x100d3506
mov ecx, 3
cmp dword [eax + 0x48], 0
jne 0x100d351c
cmp dword [eax + 0x50], 0
jne 0x100d3548
cmp dword [eax + 0x58], 0
jne 0x100d3548
xor eax, eax
jmp 0x100d354d
cmp dword [eax + 0x48], 1
jne 0x100d3535
cmp dword [eax + 0x50], 1
jne 0x100d3548
cmp dword [eax + 0x58], 1
jne 0x100d3548
mov eax, 1
jmp 0x100d354d
jbe 0x100d3548
cmp dword [eax + 0x50], 1
jbe 0x100d3548
cmp dword [eax + 0x58], 1
mov eax, 2
ja 0x100d354d
mov eax, 3
jmp dword [ecx*4 + 0x100d381c]