Function at 0x10009ff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002a180
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10035204]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 0x1c], 0
mov eax, dword [0x10036514]
mov edx, dword [eax + 0xc]
mov ecx, 0x10036514
mov dword [esp + 0x28], 1
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
push 0x1002b8e0
push 0x1002bca0
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 2
call fcn.10008d70
push 0x1002b8e0
push 0x1002bca0
lea ecx, [esp + 0x3c]
call fcn.10008d70
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx - 0xc]
or ebp, 0xffffffff
test eax, eax
jl 0x1000a12e
push 0x1002bc9c
push ecx
call fcn.10013bc6
add esp, 8
test eax, eax
je 0x1000a12e
mov ecx, dword [esp + 0x38]
sub eax, ecx
cmp eax, ebp
je 0x1000a12e
lea eax, [ecx - 0x10]
push eax
call fcn.10005150
mov esi, dword [esp + 0x34]
add eax, 0x10
mov dword [esi], eax
lea eax, [edi - 0x10]
add esp, 4
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a0d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a0f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x28], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x1000a118
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov ecx, dword [esp + 0x34]
cmp dword [ecx - 0xc], 0
jl 0x1000a1c4
push 0x1002bc98
push ecx
call fcn.10013bc6
add esp, 8
test eax, eax
je 0x1000a19a
mov ecx, dword [esp + 0x34]
sub eax, ecx
cmp eax, ebp
je 0x1000a19e
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x3c]
call fcn.100055c0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 3
call fcn.10005cd0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x28], 2
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000a19a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
cmp dword [ecx - 0xc], 0
jl 0x1000a1c4
push 0x1002bc9c
push ecx
call fcn.10013bc6
add esp, 8
test eax, eax
je 0x1000a1c4
sub eax, dword [esp + 0x34]
mov esi, eax
cmp esi, ebp
jne 0x1000a253
mov esi, dword [esp + 0x30]
push 0x1002b8ec
mov ecx, esi
call fcn.10006400
lea eax, [edi - 0x10]
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a1f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a218
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x28], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x1000a118
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov edx, dword [0x10036514]
mov eax, dword [edx + 0xc]
mov ecx, 0x10036514
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx - 0xc]
lea eax, [esi + 3]
mov byte [esp + 0x28], 4
test eax, eax
jl 0x1000a29d
cmp eax, edx
jg 0x1000a29d
add eax, ecx
push 0x1002b8e0
push eax
call fcn.10013bc6
add esp, 8
test eax, eax
je 0x1000a29d
sub eax, dword [esp + 0x34]
cmp eax, ebp
jne 0x1000a2bb
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10005cd0
push 0x1002b8e0
lea ecx, [esp + 0x38]
call fcn.10009840
jmp 0x1000a2fd
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x3c]
call fcn.100055c0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 5
call fcn.10005cd0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 4
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a2fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x40]
call fcn.100055c0
mov eax, dword [eax]
push 0x1002b8e0
push eax
call fcn.10014b82
add esp, 8
test eax, eax
mov eax, dword [esp + 0x1c]
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000a341
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x1000a3b7
mov ecx, dword [esp + 0x34]
push 0x2f
push ecx
call fcn.10014a44
add esp, 8
test eax, eax
jne 0x1000a35c
mov eax, ebp
jmp 0x1000a360
sub eax, dword [esp + 0x34]
inc eax
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x3c]
call fcn.100055c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 6
call fcn.10005cd0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 4
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a3a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.100077e0
jmp 0x1000a401
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.10008f70
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 7
call fcn.10005cd0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 4
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a401
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
add esi, 0xfffffff0
push esi
call fcn.10005150
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov edx, ebp
lea ecx, [eax + 0xc]
mov byte [esp + 0x2c], 2
add esp, 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a43e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, ebp
lea ecx, [esi + 0xc]
mov byte [esp + 0x28], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a45b
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov edx, ebp
lea ecx, [eax + 0xc]
mov byte [esp + 0x28], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a47f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov dword [esp + 0x28], ebp
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x1000a4a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret