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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a2487
mov eax, dword fs:[0]
push eax
sub esp, 0x888
mov eax, dword [0x100bc1b0]
xor eax, esp
mov dword [esp + 0x880], eax
push ebx
push esi
push edi
mov eax, dword [0x100bc1b0]
xor eax, esp
push eax
lea eax, [esp + 0x898]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0x1c]
sub eax, 0x10
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], ecx
call fcn.10008ac0
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x8a0], 0
mov edx, dword [0x100c4064]
mov eax, dword [edx + 0xc]
mov ecx, 0x100c4064
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push 0
push 0x100a9a28
lea edi, [esp + 0x18]
mov byte [esp + 0x8a8], 1
call fcn.10009b70
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x10004050
lea ecx, [esp + 0x18]
push 0x100a9bd4
push ecx
mov ecx, edi
call fcn.10007ff0
add esp, 8
mov byte [esp + 0x8a0], 2
call fcn.10008470
mov byte [esp + 0x8a0], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10004050
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esi]
push esi
push 0x100a97c8
lea ecx, [esp + 0x18]
push ecx
call fcn.10007d00
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
push eax
push 0x100a9818
lea eax, [esp + 0x18]
push eax
call fcn.10007d00
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
push eax
push 0x100a9868
lea edx, [esp + 0x18]
push edx
call fcn.10007d00
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
push eax
push 0x100a98b8
lea ecx, [esp + 0x18]
push ecx
call fcn.10007d00
push 0xa
push 0x100a9be0
lea edx, [esp + 0x18]
push edx
call fcn.100092a0
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.100092a0
push ebx
call dword [0x100a3458]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x1000426c
call fcn.10002f80
test eax, eax
je 0x1000426c
push 0x100c6128
mov edi, ebx
call fcn.1002ae80
test eax, eax
je 0x1000426c
push 0x40
lea edx, [esp + 0x4c]
push 0
push edx
call fcn.10086ed0
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
add esp, 0xc
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x48], 0x44
call dword [0x100a324c]
mov ecx, 5
lea edx, [esp + 0x20]
mov word [esp + 0x74], cx
push 0x100a99d0
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x78], 1
call fcn.10007ff0
push eax
lea eax, [esp + 0x24]
push eax
mov ebx, 0x100a99d0
mov byte [esp + 0x8b0], 3
call fcn.10007f10
add esp, 0x10
lea edi, [esp + 0x14]
mov byte [esp + 0x8a0], 4
call fcn.10008470
mov byte [esp + 0x8a0], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100041b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x8a0], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100041d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x14]
push 0x400
lea ecx, [esp + 0x90]
push ebx
push ecx
call fcn.10084af1
add esp, 0xc
push 0x400
lea edx, [esp + 0x90]
push 0x100a99cc
push edx
call fcn.10084b3b
add esp, 0xc
push 0x400
lea eax, [esp + 0x90]
push esi
push eax
call fcn.10084b3b
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x48]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0xac]
push eax
push 0
call dword [0x100a3344]
mov edi, eax
test edi, edi
je 0x1000425d
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1000425d
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
push 0x32
call dword [0x100a3270]
call fcn.10003e20
jmp 0x1000426e
xor edi, edi
lea eax, [esi - 0x10]
mov byte [esp + 0x8a0], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10004292
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov dword [esp + 0x8a0], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100042b9
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, edi
mov ecx, dword [esp + 0x898]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x880]
xor ecx, esp
call fcn.10084423
mov esp, ebp
pop ebp
ret 0x18