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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101950c8
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x101e5820]
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.10024300
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
jle 0x100a2e5b
lea edx, [ebp - 0xa0]
push edx
mov ecx, dword [ebp - 0x94]
add ecx, 0x38
call fcn.10001110
jmp 0x100a2db6
push 0
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0xa0]
call fcn.10024660
lea ecx, [ebp - 0xf4]
push ecx
mov ecx, dword [ebp - 0x94]
add ecx, 0x38
call fcn.10001140
push eax
lea ecx, [ebp - 0xa0]
call fcn.10001350
movzx edx, al
test edx, edx
je 0x100a2e5b
mov eax, dword [ebp - 0x8c]
push eax
lea ecx, [ebp - 0xa0]
call fcn.100012e0
push eax
call fcn.10001fb0
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x100a2e25
mov edx, dword [ebp - 0x8c]
add edx, 0xb
push edx
lea ecx, [ebp - 0xa0]
call fcn.100012e0
push eax
call fcn.10001fb0
add esp, 8
movzx eax, al
test eax, eax
je 0x100a2e56
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.10024460
mov byte [ebp - 0x8d], 1
jmp 0x100a2e5b
jmp 0x100a2da2
cmp dword [ebp - 0xb4], 0x14
jl 0x100a2eb8
movzx ecx, byte [ebp - 0x8d]
test ecx, ecx
jne 0x100a2eb8
push 1
lea edx, [ebp - 0x104]
push edx
lea eax, [ebp - 0xf8]
push eax
mov ecx, dword [ebp - 0x94]
add ecx, 0x38
call fcn.10001140
mov ecx, eax
call fcn.100246c0
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.10024460
lea ecx, [ebp - 0x70]
call fcn.10024240
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 0x100a2f40
cmp byte [ebp - 0x95], 0
je 0x100a2f34
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 0x100a2f40
add dword [ebp - 0xa8], 2
add dword [ebp - 0xa4], 2
cmp byte [ebp - 0x96], 0
jne 0x100a2ee2
mov dword [ebp - 0xb0], 0
jmp 0x100a2f4b
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 0x100a2f71
mov edx, dword [ebp - 0x8c]
add edx, 0xb
mov dword [ebp - 0xac], edx
jmp 0x100a2f7d
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
push ecx
lea ecx, [ebp - 0x70]
call fcn.1001df70
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.1001df70
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.100a2cf0
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, 0x10215e40
call fcn.100f88a0
push ecx
mov ecx, esp
mov dword [ebp - 0x100], esp
push eax
call fcn.10001fe0
lea eax, [ebp - 0x88]
push eax
call fcn.100254c0
add esp, 0x20
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x28]
call fcn.1000a780
lea ecx, [ebp - 0x88]
call fcn.1000a4d0
lea edx, [ebp - 0xe8]
push edx
mov ecx, dword [ebp - 0x94]
add ecx, 0x38
call fcn.10001110
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.10024430
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.100242b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006d7c0
mov esp, ebp
pop ebp
ret 4