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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016f428
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x101b2820]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0xd0], 0x14
mov eax, dword [ebp + 8]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xd0]
mov dword [ebp - 0x8c], ecx
mov byte [ebp - 0x8d], 0
mov ecx, dword [ebp - 0x94]
add ecx, 0x38
call fcn.1001c050
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
jle 0x1008cb8b
lea edx, [ebp - 0xa0]
push edx
mov ecx, dword [ebp - 0x94]
add ecx, 0x38
call fcn.10009e10
jmp 0x1008cae6
push 0
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0xa0]
call fcn.1001c3b0
lea ecx, [ebp - 0xf4]
push ecx
mov ecx, dword [ebp - 0x94]
add ecx, 0x38
call fcn.10009e40
push eax
lea ecx, [ebp - 0xa0]
call fcn.10002600
movzx edx, al
test edx, edx
je 0x1008cb8b
mov eax, dword [ebp - 0x8c]
push eax
lea ecx, [ebp - 0xa0]
call fcn.1000a3d0
push eax
call fcn.10001240
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x1008cb55
mov edx, dword [ebp - 0x8c]
add edx, 0xb
push edx
lea ecx, [ebp - 0xa0]
call fcn.1000a3d0
push eax
call fcn.10001240
add esp, 8
movzx eax, al
test eax, eax
je 0x1008cb86
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 0xd4]
push edx
lea eax, [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0x94]
add ecx, 0x38
call fcn.1001c1b0
mov byte [ebp - 0x8d], 1
jmp 0x1008cb8b
jmp 0x1008cad2
cmp dword [ebp - 0xb4], 0x14
jl 0x1008cbe8
movzx ecx, byte [ebp - 0x8d]
test ecx, ecx
jne 0x1008cbe8
push 1
lea edx, [ebp - 0x104]
push edx
lea eax, [ebp - 0xf8]
push eax
mov ecx, dword [ebp - 0x94]
add ecx, 0x38
call fcn.10009e40
mov ecx, eax
call fcn.1001c410
mov ecx, dword [eax]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xc0]
push edx
lea eax, [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0x94]
add ecx, 0x38
call fcn.1001c1b0
lea ecx, [ebp - 0x70]
call fcn.1001bf70
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xcc]
add ecx, 5
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
mov cl, byte [eax]
mov byte [ebp - 0x95], cl
mov edx, dword [ebp - 0xa4]
cmp cl, byte [edx]
jne 0x1008cc70
cmp byte [ebp - 0x95], 0
je 0x1008cc64
mov eax, dword [ebp - 0xa8]
mov cl, byte [eax + 1]
mov byte [ebp - 0x96], cl
mov edx, dword [ebp - 0xa4]
cmp cl, byte [edx + 1]
jne 0x1008cc70
add dword [ebp - 0xa8], 2
add dword [ebp - 0xa4], 2
cmp byte [ebp - 0x96], 0
jne 0x1008cc12
mov dword [ebp - 0xb0], 0
jmp 0x1008cc7b
sbb eax, eax
or eax, 1
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xb8], ecx
cmp dword [ebp - 0xb8], 0
jne 0x1008cca1
mov edx, dword [ebp - 0x8c]
add edx, 0xb
mov dword [ebp - 0xac], edx
jmp 0x1008ccad
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
push ecx
lea ecx, [ebp - 0x70]
call fcn.1001c010
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x8c]
add edx, 0x30
push edx
lea ecx, [ebp - 0x40]
call fcn.1001c010
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0x3c]
cdq
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], edx
lea ecx, [ebp - 0xe0]
push ecx
call fcn.1008ca20
add esp, 4
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx + 0x10]
add eax, 1
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ecx + 0x14]
add edx, 0x76c
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0x9c]
add ecx, 4
push ecx
mov edx, dword [ebp - 0x9c]
add edx, 8
push edx
mov eax, dword [ebp - 0x9c]
add eax, 0xc
push eax
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0xd8]
push edx
push 0x4ba
mov ecx, 0x104e6468
call fcn.100dba50
push ecx
mov ecx, esp
mov dword [ebp - 0x100], esp
push eax
call fcn.10001270
lea eax, [ebp - 0x88]
push eax
call fcn.1001d210
add esp, 0x20
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10009cf0
lea ecx, [ebp - 0x88]
call fcn.10009a40
lea edx, [ebp - 0xe8]
push edx
mov ecx, dword [ebp - 0x94]
add ecx, 0x38
call fcn.10009e10
mov eax, dword [eax]
mov dword [ebp - 0xc4], eax
lea ecx, [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0xc4]
push edx
lea eax, [ebp - 0xec]
push eax
mov ecx, dword [ebp - 0x94]
add ecx, 0x38
call fcn.1001c180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.1001bfe0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10061790
mov esp, ebp
pop ebp
ret 4