Function at 0x1000ff90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1013a028
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1017a974]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
lea eax, [esp + 0x30]
push eax
call fcn.10011140
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x54], 0
mov ecx, dword [ebp + 0x28]
inc ecx
push ecx
lea ecx, [esp + 0x34]
call fcn.100111d0
mov edx, dword [ebp + 0x24]
mov esi, dword [ebp + 0xc]
mov edi, dword [edx]
add ebp, 0xc
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov ebx, edx
mov eax, esi
test esi, esi
je 0x1000fffa
cmp esi, eax
je 0x1000ffff
call fcn.100d63f7
cmp edi, ebx
jne 0x1001001c
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x10ffff
lea ebx, [esp + 0x14]
jmp 0x10010102
xor ebx, ebx
test esi, esi
jne 0x100100cd
call fcn.100d63f7
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x10010037
call fcn.100d63f7
cmp dword [edi + 0xc], ebx
jne 0x10010070
test esi, esi
jne 0x100100d4
call fcn.100d63f7
cmp edi, dword [esi + 0x18]
jne 0x10010053
call fcn.100d63f7
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x14]
inc ebx
call fcn.10012ce0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
jmp 0x10010070
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [ebp]
test esi, esi
je 0x10010082
cmp esi, eax
je 0x10010087
call fcn.100d63f7
cmp edi, dword [esp + 0x28]
je 0x100100ea
test esi, esi
jne 0x100100db
call fcn.100d63f7
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x100100a2
call fcn.100d63f7
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x1c], ebx
dec ecx
lea ebx, [esp + 0x1c]
lea edi, [esp + 0x30]
mov dword [esp + 0x20], ecx
call fcn.10011300
test esi, esi
jne 0x100100df
call fcn.100d63f7
mov edi, dword [esp + 0x18]
jmp 0x10010049
mov eax, dword [esi]
jmp 0x1001002d
mov esi, dword [esi]
jmp 0x10010049
mov eax, dword [esi]
jmp 0x10010098
mov esi, dword [esi]
mov edi, dword [esp + 0x18]
jmp 0x10010049
cmp ebx, 0x10ffff
jg 0x1001010b
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0x10ffff
lea ebx, [esp + 0x1c]
lea edi, [esp + 0x30]
call fcn.10011300
mov edx, dword [ebp + 0x18]
mov ebx, dword [edx + 4]
cmp byte [ebx + 0x15], 0
mov esi, ebx
jne 0x1001013e
lea esp, [esp]
mov eax, dword [esi + 8]
push eax
mov ecx, ebp
call fcn.100115e0
mov esi, dword [esi]
push ebx
call fcn.100d59a5
add esp, 4
cmp byte [esi + 0x15], 0
mov ebx, esi
je 0x10010120
mov eax, dword [ebp + 0x18]
mov dword [eax + 4], eax
mov eax, dword [ebp + 0x18]
xor esi, esi
mov dword [ebp + 0x1c], esi
mov dword [eax], eax
mov eax, dword [ebp + 0x18]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
sar eax, 3
cmp esi, eax
jae 0x10010187
lea ecx, [ecx + esi*8]
push ecx
lea edx, [esp + 0x28]
push edx
mov ebx, ebp
call fcn.10010650
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
inc esi
sar eax, 3
cmp esi, eax
jb 0x10010165
mov eax, dword [esp + 0x5c]
mov edx, dword [eax]
not edx
and edx, 0x3ffffff
mov dword [eax], edx
mov edx, dword [eax + 4]
not edx
and edx, 0x3ffffff
mov dword [eax + 4], edx
mov edx, 0x110000
sub edx, dword [eax + 8]
mov dword [eax + 8], edx
test ecx, ecx
je 0x100101bd
push ecx
call fcn.100d59a5
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
push eax
call fcn.100d59a5
add esp, 4
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4