Function at 0x100d2b00
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 0x100d2bb4
mov dword [ebp - 0x2c], edx
mov edi, dword [ebp - 0x2c]
cmp dword [edi + 0x20], 0
mov edi, dword [ebp - 0x28]
jne 0x100d2c01
cmp byte [ebp - 0xd], 0
je 0x100d2bcb
mov dword [ebp - 0x2c], eax
jmp 0x100d2bd1
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 0x100d2c01
cmp byte [ebp - 0xd], 0
je 0x100d2beb
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
jmp 0x100d2bee
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x30], 0
mov ecx, dword [ebp + 0x14]
jne 0x100d2c01
xor edx, edx
jmp 0x100d2cb2
cmp byte [ebp - 0xd], 0
je 0x100d2c0f
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
jmp 0x100d2c15
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x2c], edx
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx + 0x20], 1
jne 0x100d2c62
cmp byte [ebp - 0xd], 0
je 0x100d2c2c
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
jmp 0x100d2c32
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 0x100d2c62
cmp byte [ebp - 0xd], 0
je 0x100d2c4c
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
jmp 0x100d2c4f
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x30], 1
mov ecx, dword [ebp + 0x14]
jne 0x100d2c62
mov edx, 1
jmp 0x100d2cb2
cmp byte [ebp - 0xd], 0
je 0x100d2c70
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
jmp 0x100d2c76
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 0x100d2cad
cmp byte [ebp - 0xd], 0
mov dword [ebp - 0x2c], eax
jne 0x100d2c8e
mov dword [ebp - 0x2c], edx
mov edi, dword [ebp - 0x2c]
cmp dword [edi + 0x28], 1
mov edi, dword [ebp - 0x28]
jbe 0x100d2cad
cmp byte [ebp - 0xd], 0
jne 0x100d2ca2
mov eax, edx
cmp dword [eax + 0x30], 1
mov edx, 2
ja 0x100d2cb2
mov edx, 3
mov eax, dword [ebx + 0x48]
test eax, eax
jne 0x100d2cc5
cmp dword [ebx + 0x50], eax
jne 0x100d2ce9
cmp dword [ebx + 0x58], eax
jne 0x100d2ce9
jmp 0x100d2cee
cmp eax, 1
jne 0x100d2cd6
cmp dword [ebx + 0x50], eax
jne 0x100d2ce9
cmp dword [ebx + 0x58], eax
jne 0x100d2ce9
jmp 0x100d2cee
jbe 0x100d2ce9
cmp dword [ebx + 0x50], 1
jbe 0x100d2ce9
cmp dword [ebx + 0x58], 1
mov eax, 2
ja 0x100d2cee
mov eax, 3
jmp dword [edx*4 + 0x100d303c]