Function at 0x10050960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1007e990
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
mov dword [esp + 0x28], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov edx, dword [0x10098a04]
mov ecx, 0x10098a04
mov byte [esp + 0x28], 1
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x30]
push 0
push esi
mov byte [esp + 0x30], 2
call fcn.10001450
add esp, 8
test eax, eax
je 0x100509d9
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.10004800
test eax, eax
jne 0x10050a45
lea eax, [edi - 0x10]
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100509f8
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 + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10050a1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10050c63
mov ecx, dword [eax]
push eax
jmp 0x10050c5e
mov edi, dword [esp + 0x10]
mov esi, dword [edi - 0xc]
test esi, esi
jg 0x10050a55
or eax, 0xffffffff
jmp 0x10050a6b
push 0x2c
push edi
call fcn.1006a2c9
add esp, 8
test eax, eax
jne 0x10050a69
or eax, 0xffffffff
jmp 0x10050a6b
sub eax, edi
sub esi, eax
dec esi
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.10008dd0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 3
call fcn.10004aa0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x28], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10050aaf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x10]
mov eax, dword [edi - 0xc]
test eax, eax
jg 0x10050abf
or eax, 0xffffffff
jmp 0x10050ad5
push 0x2c
push edi
call fcn.1006a2c9
add esp, 8
test eax, eax
jne 0x10050ad3
or eax, 0xffffffff
jmp 0x10050ad5
sub eax, edi
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.10008ae0
mov eax, dword [eax]
push eax
call fcn.1006a458
mov ebx, eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10050b0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [edi - 0xc]
test esi, esi
jg 0x10050b1b
or eax, 0xffffffff
jmp 0x10050b31
push 0x2c
push edi
call fcn.1006a2c9
add esp, 8
test eax, eax
jne 0x10050b2f
or eax, 0xffffffff
jmp 0x10050b31
sub eax, edi
sub esi, eax
dec esi
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.10008dd0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call fcn.10004aa0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x28], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10050b75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp - 0xc]
test eax, eax
jg 0x10050b85
or eax, 0xffffffff
jmp 0x10050b9b
push 0x2c
push ebp
call fcn.1006a2c9
add esp, 8
test eax, eax
jne 0x10050b99
or eax, 0xffffffff
jmp 0x10050b9b
sub eax, ebp
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.10008ae0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 5
call fcn.10004aa0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x28], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10050bdc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x34]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push esi
call fcn.10002a40
add eax, 0x10
mov dword [edi], eax
mov edi, dword [esp + 0x1c]
add esp, 4
push edi
push ebx
call fcn.10050490
lea eax, [edi - 0x10]
add esp, 0xc
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10050c25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10050c44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x28], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10050c63
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret