Function at 0x100d3be0
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c2405
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x101d32d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
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.100f2b00
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.100f2bb0
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
sub edx, dword [eax + 4]
mov esi, dword [edi + 0xc]
imul edx, esi
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x24]
sub edx, dword [eax]
add edx, dword [ecx]
imul edx, dword [edi + 0x30]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov al, byte [ebx + 0x147c]
mov byte [ebp - 0xd], al
lea eax, [ebx + 0x2f0]
add edx, dword [edi + 0x10]
cmp byte [ebp - 0xd], 0
mov dword [ebp - 0x20], edx
lea edx, [ebx + 0x180]
mov dword [ebp - 0x2c], eax
jne 0x100d3c94
mov dword [ebp - 0x2c], edx
mov edi, dword [ebp - 0x2c]
cmp dword [edi + 0x20], 0
mov edi, dword [ebp - 0x28]
jne 0x100d3ce1
cmp byte [ebp - 0xd], 0
je 0x100d3cab
mov dword [ebp - 0x2c], eax
jmp 0x100d3cb1
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x2c], edx
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx + 0x28], 0
mov ebx, dword [ebp - 0x14]
jne 0x100d3ce1
cmp byte [ebp - 0xd], 0
je 0x100d3ccb
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
jmp 0x100d3cce
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x30], 0
mov ecx, dword [ebp + 0x14]
jne 0x100d3ce1
xor edx, edx
jmp 0x100d3d92
cmp byte [ebp - 0xd], 0
je 0x100d3cef
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
jmp 0x100d3cf5
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x2c], edx
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx + 0x20], 1
jne 0x100d3d42
cmp byte [ebp - 0xd], 0
je 0x100d3d0c
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
jmp 0x100d3d12
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x2c], edx
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx + 0x28], 1
mov ebx, dword [ebp - 0x14]
jne 0x100d3d42
cmp byte [ebp - 0xd], 0
je 0x100d3d2c
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
jmp 0x100d3d2f
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x30], 1
mov ecx, dword [ebp + 0x14]
jne 0x100d3d42
mov edx, 1
jmp 0x100d3d92
cmp byte [ebp - 0xd], 0
je 0x100d3d50
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
jmp 0x100d3d56
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x2c], edx
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx + 0x20], 1
mov ebx, dword [ebp - 0x14]
jbe 0x100d3d8d
cmp byte [ebp - 0xd], 0
mov dword [ebp - 0x2c], eax
jne 0x100d3d6e
mov dword [ebp - 0x2c], edx
mov edi, dword [ebp - 0x2c]
cmp dword [edi + 0x28], 1
mov edi, dword [ebp - 0x28]
jbe 0x100d3d8d
cmp byte [ebp - 0xd], 0
jne 0x100d3d82
mov eax, edx
cmp dword [eax + 0x30], 1
mov edx, 2
ja 0x100d3d92
mov edx, 3
mov eax, dword [ebx + 0x48]
test eax, eax
jne 0x100d3da5
cmp dword [ebx + 0x50], eax
jne 0x100d3dc9
cmp dword [ebx + 0x58], eax
jne 0x100d3dc9
jmp 0x100d3dce
cmp eax, 1
jne 0x100d3db6
cmp dword [ebx + 0x50], eax
jne 0x100d3dc9
cmp dword [ebx + 0x58], eax
jne 0x100d3dc9
jmp 0x100d3dce
jbe 0x100d3dc9
cmp dword [ebx + 0x50], 1
jbe 0x100d3dc9
cmp dword [ebx + 0x58], 1
mov eax, 2
ja 0x100d3dce
mov eax, 3
jmp dword [edx*4 + 0x100d411c]