Function at 0x10018f50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10044298
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
xor edi, edi
mov dword [esp + 8], edi
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
push eax
lea ecx, [esp + 0xc]
call fcn.10001f40
mov esi, dword [esp + 0x30]
push 0x10047a70
lea ecx, [esp + 0x10]
push esi
push ecx
mov dword [esp + 0x2c], edi
call fcn.10016f60
push eax
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x38], 1
call fcn.10018dd0
add esp, 0x18
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x20], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10018fd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
cmp dword [eax - 0xc], edi
jne 0x10019059
push 0x10047ab4
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.10016f60
push eax
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x38], 4
call fcn.10018dd0
add esp, 0x18
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 5
call fcn.10008ea0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x20], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10019036
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x20], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10019059
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
cmp dword [eax - 0xc], edi
jne 0x100190df
push 0x10047240
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.10016f60
push eax
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x38], 6
call fcn.10018dd0
add esp, 0x18
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 7
call fcn.10008ea0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x20], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100190bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x20], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100190df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x2c]
add esi, 0xfffffff0
push esi
call fcn.100022c0
mov edi, dword [esp + 0x2c]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [esp + 0x20], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10019114
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001913a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret