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

Disassembly:
push 0xffffffffffffffff
push 0x10011829
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov dword [esp + 8], ecx
push esi
push edi
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x38]
call fcn.10007f70
mov esi, dword [edi]
mov edx, dword [0x1001ff40]
lea ebx, [edi + 8]
cmp esi, edx
mov dword [esp + 0x14], edi
mov ebp, ebx
jne 0x100060a6
mov esi, dword [ebx]
jmp 0x100060c4
mov eax, dword [ebx]
cmp eax, edx
je 0x100060c4
mov ecx, dword [eax]
cmp ecx, edx
je 0x100060ba
mov eax, ecx
mov ecx, dword [eax]
cmp ecx, edx
jne 0x100060b2
mov esi, dword [eax + 8]
lea ebp, [eax + 8]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x18]
call dword [0x100122bc]
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x10006139
mov ecx, dword [edi]
mov dword [ecx + 4], eax
mov edx, dword [edi]
mov dword [eax], edx
mov ecx, dword [ebx]
cmp eax, ecx
jne 0x100060ea
mov dword [esi + 4], eax
jmp 0x100060ff
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov edx, dword [ebx]
mov dword [ebp], edx
mov ecx, dword [ebx]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 4]
cmp dword [ecx + 4], edi
jne 0x10006110
mov dword [ecx + 4], eax
jmp 0x1000611e
mov ecx, dword [edi + 4]
cmp dword [ecx], edi
jne 0x1000611b
mov dword [ecx], eax
jmp 0x1000611e
mov dword [ecx + 8], eax
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], edi
mov dword [eax + 4], ecx
mov edx, dword [edi + 0x2c]
mov ecx, dword [eax + 0x2c]
mov dword [eax + 0x2c], edx
mov dword [edi + 0x2c], ecx
jmp 0x100061c3
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
cmp dword [eax + 4], edi
jne 0x10006154
mov dword [eax + 4], esi
jmp 0x10006162
mov eax, dword [edi + 4]
cmp dword [eax], edi
jne 0x1000615f
mov dword [eax], esi
jmp 0x10006162
mov dword [eax + 8], esi
mov ebp, dword [ecx + 4]
cmp dword [ebp], edi
jne 0x10006191
mov edx, dword [0x1001ff40]
mov eax, dword [ebx]
cmp eax, edx
jne 0x1000617e
mov edx, dword [edi + 4]
mov dword [ebp], edx
jmp 0x10006191
mov eax, dword [esi]
mov ecx, esi
cmp eax, edx
je 0x1000618e
mov ecx, eax
mov eax, dword [ecx]
cmp eax, edx
jne 0x10006186
mov dword [ebp], ecx
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 4]
cmp dword [ebx + 8], edi
jne 0x100061c3
mov edx, dword [0x1001ff40]
mov eax, dword [edi]
cmp eax, edx
jne 0x100061ae
mov ecx, dword [edi + 4]
jmp 0x100061c0
mov eax, dword [esi + 8]
mov ecx, esi
cmp eax, edx
je 0x100061c0
mov ecx, eax
mov eax, dword [ecx + 8]
cmp eax, edx
jne 0x100061b7
mov dword [ebx + 8], ecx
mov edx, dword [esp + 0x14]
mov ebx, 1
cmp dword [edx + 0x2c], ebx
jne 0x1000645f
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
cmp esi, dword [ecx + 4]
je 0x1000645c
cmp dword [esi + 0x2c], ebx
jne 0x1000645c
mov eax, dword [esi + 4]
cmp esi, dword [eax]
jne 0x10006269
mov eax, dword [eax + 8]
xor edi, edi
cmp dword [eax + 0x2c], edi
jne 0x10006250
mov dword [eax + 0x2c], ebx
mov edx, dword [esi + 4]
mov dword [edx + 0x2c], edi
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov edx, dword [ecx]
cmp edx, dword [0x1001ff40]
je 0x10006220
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 4]
cmp eax, dword [edx + 4]
jne 0x10006237
mov dword [edx + 4], ecx
jmp 0x10006245
mov edx, dword [eax + 4]
cmp eax, dword [edx]
jne 0x10006242
mov dword [edx], ecx
jmp 0x10006245
mov dword [edx + 8], ecx
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
cmp dword [ecx + 0x2c], ebx
jne 0x100062f6
mov edx, dword [eax + 8]
cmp dword [edx + 0x2c], ebx
jne 0x100062f6
jmp 0x100062db
mov eax, dword [eax]
xor edi, edi
cmp dword [eax + 0x2c], edi
jne 0x100062c4
mov dword [eax + 0x2c], ebx
mov eax, dword [esi + 4]
mov dword [eax + 0x2c], edi
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov edx, dword [ecx + 8]
cmp edx, dword [0x1001ff40]
je 0x10006293
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 4]
cmp eax, dword [edx + 4]
jne 0x100062aa
mov dword [edx + 4], ecx
jmp 0x100062b9
mov edx, dword [eax + 4]
cmp eax, dword [edx + 8]
jne 0x100062b7
mov dword [edx + 8], ecx
jmp 0x100062b9
mov dword [edx], ecx
mov dword [ecx + 8], eax
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x2c], ebx
jne 0x100063b0
mov edx, dword [eax]
cmp dword [edx + 0x2c], ebx
jne 0x100063b0
mov dword [eax + 0x2c], edi
mov eax, dword [esp + 0x10]
mov esi, dword [esi + 4]
mov ecx, dword [eax + 4]
cmp esi, dword [ecx + 4]
jne 0x100061e5
jmp 0x1000645c
mov edx, dword [eax + 8]
cmp dword [edx + 0x2c], ebx
jne 0x1000634d
mov ecx, dword [eax]
mov dword [ecx + 0x2c], ebx
mov ecx, dword [eax]
mov dword [eax + 0x2c], edi
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov edx, dword [ecx + 8]
cmp edx, dword [0x1001ff40]
je 0x1000631b
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 4]
cmp eax, dword [edx + 4]
jne 0x10006332
mov dword [edx + 4], ecx
jmp 0x10006341
mov edx, dword [eax + 4]
cmp eax, dword [edx + 8]
jne 0x1000633f
mov dword [edx + 8], ecx
jmp 0x10006341
mov dword [edx], ecx
mov dword [ecx + 8], eax
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x2c]
mov dword [eax + 0x2c], edx
mov ecx, dword [esi + 4]
mov dword [ecx + 0x2c], ebx
mov edx, dword [eax + 8]
mov dword [edx + 0x2c], ebx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov edx, dword [ecx]
cmp edx, dword [0x1001ff40]
je 0x1000637a
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 4]
cmp eax, dword [edx + 4]
jne 0x10006396
mov dword [edx + 4], ecx
mov dword [ecx], eax
jmp 0x10006459
mov edx, dword [eax + 4]
cmp eax, dword [edx]
jne 0x100063a6
mov dword [edx], ecx
mov dword [ecx], eax
jmp 0x10006459
mov dword [edx + 8], ecx
mov dword [ecx], eax
jmp 0x10006459
mov ecx, dword [eax]
cmp dword [ecx + 0x2c], ebx
jne 0x10006404
mov edx, dword [eax + 8]
mov dword [edx + 0x2c], ebx
mov ecx, dword [eax + 8]
mov dword [eax + 0x2c], edi
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov edx, dword [ecx]
cmp edx, dword [0x1001ff40]
je 0x100063d5
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 4]
cmp eax, dword [edx + 4]
jne 0x100063ec
mov dword [edx + 4], ecx
jmp 0x100063fa
mov edx, dword [eax + 4]
cmp eax, dword [edx]
jne 0x100063f7
mov dword [edx], ecx
jmp 0x100063fa
mov dword [edx + 8], ecx
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x2c]
mov dword [eax + 0x2c], edx
mov ecx, dword [esi + 4]
mov dword [ecx + 0x2c], ebx
mov edx, dword [eax]
mov dword [edx + 0x2c], ebx
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov edx, dword [ecx + 8]
cmp edx, dword [0x1001ff40]
je 0x10006430
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 4]
cmp eax, dword [edx + 4]
jne 0x10006447
mov dword [edx + 4], ecx
jmp 0x10006456
mov edx, dword [eax + 4]
cmp eax, dword [edx + 8]
jne 0x10006454
mov dword [edx + 8], ecx
jmp 0x10006456
mov dword [edx], ecx
mov dword [ecx + 8], eax
mov dword [eax + 4], ecx
mov dword [esi + 0x2c], ebx
mov ebx, dword [0x100122b8]
lea ecx, [esp + 0x18]
call ebx
mov ebp, dword [esp + 0x14]
lea edi, [ebp + 0xc]
mov dword [esp + 0x1c], edi
mov eax, dword [edi + 0x14]
lea esi, [edi + 0x10]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0
call fcn.10007ce0
mov ecx, dword [esi + 4]
push ecx
call fcn.10006920
mov edx, dword [eax]
add esp, 4
lea ecx, [esp + 0x14]
push edx
call fcn.10007ce0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, esi
call fcn.100051a0
mov eax, dword [esi + 4]
push eax
call fcn.1001023e
xor eax, eax
add esp, 4
mov dword [esi + 4], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x14]
xor esi, esi
call dword [0x100122bc]
mov eax, dword [0x1001ff50]
dec eax
mov dword [0x1001ff50], eax
jne 0x100064f9
mov esi, dword [0x1001ff4c]
mov dword [0x1001ff4c], 0
lea ecx, [esp + 0x14]
call ebx
xor ebx, ebx
cmp esi, ebx
je 0x1000650e
push esi
call fcn.1001023e
add esp, 4
mov ecx, dword [edi + 4]
cmp ecx, ebx
je 0x10006533
mov al, byte [ecx - 1]
test al, al
je 0x10006527
cmp al, 0xff
je 0x10006527
dec al
mov byte [ecx - 1], al
jmp 0x10006533
add ecx, 0xfffffffe
push ecx
call fcn.1001023e
add esp, 4
push ebp
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.1001023e
mov eax, dword [esp + 0x14]
add esp, 4
mov ecx, dword [eax + 0xc]
pop edi
dec ecx
pop esi
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
pop ebp
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8