Function at 0x100101b0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x10038108
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x30], 1
call fcn.10030335
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov byte [esp + 0x30], 2
call fcn.10030335
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov bl, 3
mov esi, esp
push eax
mov byte [esp + 0x38], bl
mov dword [esp + 0x28], eax
call fcn.10001450
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [esi], eax
call fcn.1000fb20
mov esi, eax
push 0x1003bf78
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.1000c870
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 4
call fcn.10001fc0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x30], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10010278
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x40]
push 0
push 0x100397e3
call fcn.10001ed0
cmp esi, 0xffffffff
je 0x1001032c
imul esi, esi, 0x1c
mov eax, dword [esi + ebp + 0x30]
test eax, eax
lea ebx, [esi + ebp]
mov esi, dword [ebx + 0x28]
mov dword [esp + 0x18], 0
jle 0x1001032c
mov edi, edi
test esi, esi
je 0x100102fe
lea eax, [esi + 8]
push eax
lea ecx, [esp + 0x18]
call fcn.10001fc0
mov eax, dword [esp + 0x10]
test eax, eax
mov edi, dword [esp + 0x14]
je 0x100102ea
mov ecx, dword [edi - 0xc]
test ecx, ecx
jl 0x100102ea
push eax
push edi
call fcn.1001d6e9
add esp, 8
test eax, eax
je 0x100102ea
sub eax, edi
mov dword [esp + 0x24], eax
je 0x10010303
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0x30]
mov esi, dword [esi]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x100102b0
jmp 0x1001032c
call fcn.1002b5bd
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x40]
push ecx
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x4c], esp
mov esi, esp
push eax
call fcn.10001450
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [esi], eax
call fcn.1000f980
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x30], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1001034f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add edi, 0xfffffff0
mov byte [esp + 0x30], 1
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1001036e
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001038e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100103b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 0xc