Function at 0x100d30a0
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 0x100d3154
mov dword [ebp - 0x2c], edx
mov edi, dword [ebp - 0x2c]
cmp dword [edi + 0x20], 0
mov edi, dword [ebp - 0x28]
jne 0x100d31a1
cmp byte [ebp - 0xd], 0
je 0x100d316b
mov dword [ebp - 0x2c], eax
jmp 0x100d3171
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 0x100d31a1
cmp byte [ebp - 0xd], 0
je 0x100d318b
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
jmp 0x100d318e
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x30], 0
mov ecx, dword [ebp + 0x14]
jne 0x100d31a1
xor edx, edx
jmp 0x100d3252
cmp byte [ebp - 0xd], 0
je 0x100d31af
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
jmp 0x100d31b5
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x2c], edx
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx + 0x20], 1
jne 0x100d3202
cmp byte [ebp - 0xd], 0
je 0x100d31cc
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
jmp 0x100d31d2
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 0x100d3202
cmp byte [ebp - 0xd], 0
je 0x100d31ec
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
jmp 0x100d31ef
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x30], 1
mov ecx, dword [ebp + 0x14]
jne 0x100d3202
mov edx, 1
jmp 0x100d3252
cmp byte [ebp - 0xd], 0
je 0x100d3210
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
jmp 0x100d3216
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 0x100d324d
cmp byte [ebp - 0xd], 0
mov dword [ebp - 0x2c], eax
jne 0x100d322e
mov dword [ebp - 0x2c], edx
mov edi, dword [ebp - 0x2c]
cmp dword [edi + 0x28], 1
mov edi, dword [ebp - 0x28]
jbe 0x100d324d
cmp byte [ebp - 0xd], 0
jne 0x100d3242
mov eax, edx
cmp dword [eax + 0x30], 1
mov edx, 2
ja 0x100d3252
mov edx, 3
mov eax, dword [ebx + 0x48]
test eax, eax
jne 0x100d3265
cmp dword [ebx + 0x50], eax
jne 0x100d3289
cmp dword [ebx + 0x58], eax
jne 0x100d3289
jmp 0x100d328e
cmp eax, 1
jne 0x100d3276
cmp dword [ebx + 0x50], eax
jne 0x100d3289
cmp dword [ebx + 0x58], eax
jne 0x100d3289
jmp 0x100d328e
jbe 0x100d3289
cmp dword [ebx + 0x50], 1
jbe 0x100d3289
cmp dword [ebx + 0x58], 1
mov eax, 2
ja 0x100d328e
mov eax, 3
jmp dword [edx*4 + 0x100d35dc]