Function at 0xa1b0cc
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100709a5
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x1008e390]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
push edi
mov eax, dword [0x1008e390]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x18]
mov edi, ecx
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x30], edi
mov ebx, edx
mov dword [esp + 0x24], eax
call dword [0x10074020]
mov edx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
mov edx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push ecx
push edx
lea esi, [esp + 0x84]
call fcn.00a1a30c
lea eax, [edi + 0x64]
xor ebx, ebx
mov dword [esp + 0x108], ebx
push eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], eax
call dword [0x1007403c]
mov byte [esp + 0x108], 1
sub esp, 0x18
mov eax, esp
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
xor esi, esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ecx
sub esp, 0xc
mov dword [eax + 0x14], ecx
lea ebx, [edi + 0x7c]
mov eax, esp
mov edx, ebx
mov dword [esp + 0x48], esp
call fcn.00a2097c
sub esp, 0xc
mov byte [esp + 0x138], 2
mov eax, esp
mov ecx, ebx
mov dword [esp + 0x54], esp
call fcn.00a2095c
lea esi, [esp + 0x7c]
mov byte [esp + 0x138], 1
call fcn.00a2578c
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
mov esi, dword [edi + 0x20]
add esp, 0x30
add ecx, dword [ebp + 0xc]
adc eax, dword [ebp + 0x10]
xor edx, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp eax, edx
jb 0xa1b2c5
ja 0xa1b1fa
cmp ecx, esi
jbe 0xa1b2c5
mov edx, ecx
sub edx, esi
mov dword [esp + 0x24], edx
mov esi, 0
mov edx, eax
sbb edx, esi
mov esi, dword [ebp + 0x14]
cmp esi, 2
je 0xa1b2c5
cmp esi, 1
jne 0xa1b244
mov esi, dword [esp + 0x54]
add esi, dword [esp + 0x5c]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x58]
adc esi, dword [esp + 0x60]
cmp esi, edx
ja 0xa1b2c5
jb 0xa1b256
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x34], edx
jmp 0xa1b254
cmp dword [esp + 0x58], edx
ja 0xa1b2c5
jb 0xa1b256
mov edx, dword [esp + 0x54]
cmp edx, dword [esp + 0x24]
jae 0xa1b2c5
mov dword [esp + 0x20], 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x50]
push ecx
mov edi, 0x10078934
mov byte [esp + 0x110], 3
call fcn.00a1416c
push 0x148
push 0x10078850
lea edx, [esp + 0xbc]
push edx
lea ebx, [esp + 0x58]
mov byte [esp + 0x114], 4
call fcn.00a12ebc
push 0x10083af0
lea eax, [esp + 0xb8]
push eax
mov dword [esp + 0xf8], 0x80000062
mov dword [esp + 0xbc], 0x1007863c
call fcn.00a4ed6d
xor edx, edx
cmp eax, edx
jb 0xa1b2f5
ja 0xa1b2d2
cmp ecx, dword [edi + 0x20]
jbe 0xa1b2f5
mov esi, dword [esp + 0x20]
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
mov dword [eax], edx
push edi
mov ecx, esi
lea edx, [esp + 0x1c]
call fcn.00a1aefc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
jmp 0xa1b2f9
mov esi, dword [esp + 0x20]
xor edx, edx
cmp eax, edx
jb 0xa1b32c
ja 0xa1b306
cmp ecx, dword [edi + 0x20]
jbe 0xa1b32c
cmp dword [ebp + 0x14], edx
je 0xa1b32c
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
push edi
mov ecx, esi
lea edx, [esp + 0x1c]
mov dword [eax], 1
call fcn.00a1aefc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
xor edx, edx
cmp eax, edx
jb 0xa1b358
ja 0xa1b339
cmp ecx, dword [edi + 0x20]
jbe 0xa1b358
cmp dword [ebp + 0x14], 2
jne 0xa1b358
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
push edi
mov ecx, esi
lea edx, [esp + 0x1c]
mov dword [eax], 2
call fcn.00a1aefc
mov ecx, dword [ebx + 0x10]
inc ecx
cmp dword [ebx + 8], ecx
ja 0xa1b366
call fcn.00a216dc
mov esi, dword [ebx + 0xc]
add esi, dword [ebx + 0x10]
mov eax, dword [ebx + 8]
cmp eax, esi
ja 0xa1b375
sub esi, eax
mov edx, dword [ebx + 4]
cmp dword [edx + esi*4], 0
jne 0xa1b396
push 0x48
call fcn.00a4dc52
add esp, 4
test eax, eax
je 0xa1b41d
mov ecx, dword [ebx + 4]
mov dword [ecx + esi*4], eax
mov ecx, dword [ebx + 4]
mov esi, dword [ecx + esi*4]
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], esi
mov byte [esp + 0x108], 5
test esi, esi
je 0xa1b3bd
lea edi, [esp + 0x6c]
call fcn.00a20fcc
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
inc dword [ebx + 0x10]
push edx
mov byte [edi + 0x94], 1
call dword [0x1007402c]
lea eax, [esp + 0x8c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x108], 6
cmp dword [esp + 0x94], 0
jbe 0xa1b45a
mov esi, dword [esp + 0x8c]
lea ecx, [esp + 0x9c]
cmp esi, ecx
je 0xa1b45a
mov eax, dword [esp + 0x98]
test eax, eax
je 0xa1b44a
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x14]
call eax
add esp, 8
jmp 0xa1b45a
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], 0
call fcn.00a4d326
push 0x100838b8
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], 0x10074360
call fcn.00a4ed6d
call dword [0x10074008]
push esi
push 0
push eax
call dword [0x10074004]
mov dword [esp + 0x108], 0xffffffff
mov eax, dword [esp + 0x98]
test eax, eax
je 0xa1b47b
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
add esp, 4
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.00a4d018
mov esp, ebp
pop ebp
ret 0x14