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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009c578
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
mov edi, ecx
lea eax, [edi + 4]
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call dword [0x100a40f0]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esp + 0x4c], ecx
mov edx, dword [eax]
mov esi, dword [edi + 0x20]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
mov eax, esi
mov dword [esp + 0x30], edx
call fcn.008a48fc
mov ebx, eax
add esp, 8
cmp ebx, esi
je 0x8a4134
lea edx, [esp + 0x30]
push edx
lea eax, [ebx + 0x10]
mov ecx, ebx
lea edx, [esp + 0x24]
call fcn.008a399c
add esp, 4
mov byte [esp + 0xf], 1
test al, al
je 0x8a4139
mov byte [esp + 0xf], 0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x8a414c
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
add esp, 4
cmp byte [esp + 0xf], 0
jne 0x8a427d
mov esi, dword [edi]
push 0x320
lea eax, [esp + 0x1c]
push eax
call fcn.008804cc
mov eax, dword [esp + 0x1c]
xor edi, edi
cmp eax, edi
je 0x8a4241
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x200
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0x201
mov dword [esp + 0x34], 6
mov dword [esp + 0x38], edi
mov byte [esp + 0x3c], 0x20
mov byte [esp + 0x4c], 2
mov eax, 0x100aa55c
xor ecx, ecx
inc eax
inc ecx
cmp byte [eax], 0
jne 0x8a41b3
push ecx
push 0x100aa55c
push edi
xor eax, eax
lea ecx, [esp + 0x2c]
call fcn.00884c1c
add esp, 0xc
xor eax, eax
inc eax
cmp byte [eax + 0x100aa588], 0
jne 0x8a41d1
push eax
push 0x100aa588
push edi
xor eax, eax
lea ecx, [esp + 0x2c]
call fcn.00884c1c
mov eax, dword [ebp + 8]
add esp, 0xc
lea esi, [esp + 0x20]
call fcn.008a3a5c
mov ecx, eax
xor eax, eax
inc eax
cmp byte [eax + 0x100aa578], 0
jne 0x8a4200
push eax
push 0x100aa578
push edi
xor eax, eax
call fcn.00884c1c
mov byte [esp + 0x58], 1
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp eax, edi
je 0x8a4241
mov ecx, dword [esp + 0x24]
cmp ecx, edi
je 0x8a4241
mov esi, dword [esp + 0x2c]
mov edx, dword [eax]
push esi
push ecx
push eax
mov eax, dword [edx + 0x10]
call eax
add esp, 0xc
mov byte [esp + 0x4c], 0
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x8a4259
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call dword [0x100a40fc]
mov eax, 0x8000004c
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x8a4386
cmp dword [ebx + 0x10], 0
jne 0x8a4296
mov dword [esi], 0
jmp 0x8a42a9
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x8a42a7
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call edx
add esp, 4
mov dword [esi], ebx
mov esi, dword [edi]
push 0x320
lea eax, [esp + 0x1c]
push eax
call fcn.008804cc
mov eax, dword [esp + 0x1c]
xor ebx, ebx
cmp eax, ebx
je 0x8a436e
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x200
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0x201
mov dword [esp + 0x34], 6
mov dword [esp + 0x38], ebx
mov byte [esp + 0x3c], 0x20
mov edx, dword [ebp + 0xc]
mov byte [esp + 0x4c], 4
mov edi, dword [edx]
mov ecx, 0x100aa55c
lea esi, [esp + 0x20]
call fcn.008803ac
mov ecx, 0x100aa588
mov esi, eax
call fcn.008803ac
mov esi, eax
mov eax, dword [ebp + 8]
call fcn.008a3a5c
mov ecx, 0x100aa540
mov esi, eax
call fcn.008803ac
mov ecx, 0x10001850
call fcn.008803dc
push eax
mov eax, edi
call fcn.0089511c
mov byte [esp + 0x50], 3
mov eax, dword [esp + 0x24]
add esp, 4
cmp eax, ebx
je 0x8a436e
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x8a436e
mov esi, dword [esp + 0x2c]
mov edx, dword [eax]
push esi
push ecx
push eax
mov eax, dword [edx + 0x10]
call eax
add esp, 0xc
mov byte [esp + 0x4c], 0
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x8a4386
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call dword [0x100a40fc]
mov ecx, dword [esp + 0x44]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8