Function at 0x100a7cd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
mov dword [esi + 0xc], ecx
mov edx, dword [ebp + 8]
mov dword [esi + 0x2c], esp
mov dword [esi + 0x38], 0xffffffff
lea eax, [esi + 0x30]
mov dword [esi + 0x34], 0x100ae3c0
mov ecx, dword fs:[0]
mov dword [esi + 0x30], ecx
mov dword fs:[0], eax
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
xorps xmm0, xmm0
movaps xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0
mov dword [esi + 0x38], 0
push 8
call fcn.102e53ba
add esp, 4
mov dword [eax + 4], 0
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x10]
mov dword [eax], ecx
mov eax, dword [esi + 0xc]
add eax, 0x30
mov dword [esi + 0x38], 1
push eax
call fcn.100aad90
cmp dword [esi + 0x20], 0
je 0x100a7fea
mov eax, dword [esi + 0x1c]
mov ecx, eax
shr ecx, 1
mov edi, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
add edx, 0xffffffff
and edx, ecx
and eax, 1
mov dword [esi + 0xc], edi
mov edi, dword [edi + edx*4]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov ecx, dword [edi + eax*8 + 4]
mov ebx, eax
test ecx, ecx
je 0x100a7dba
lock add dword [ecx + 4], 1
mov ebx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc], ecx
mov edx, dword [esi + 0x18]
mov ecx, ebx
shr ecx, 1
add edx, 0xffffffff
and edx, ecx
and ebx, 1
mov ecx, dword [edi + eax*8]
mov dword [esi + 4], ecx
mov eax, dword [edi + eax*8 + 4]
mov dword [esi + 8], eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + edx*4]
mov edi, dword [eax + ebx*8 + 4]
test edi, edi
je 0x100a7e00
lock sub dword [edi + 4], 1
jne 0x100a7e00
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock sub dword [edi + 8], 1
jne 0x100a7e00
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [esi + 0x38], 2
nop word [eax + eax]
mov eax, dword [esi + 0x1c]
add eax, 1
add dword [esi + 0x20], 0xffffffff
mov ecx, 0
cmove eax, ecx
mov dword [esi + 0x1c], eax
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
mov dword [esi + 0x38], 2
call eax
test eax, eax
je 0x100a7ed0
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
cmp byte [ebp + 0x10], 0
je 0x100a7e70
call eax
push dword [ebp + 0xc]
push dword [eax + 0x18]
push dword [eax + 0x14]
call fcn.100aacb0
add esp, 0xc
test al, al
je 0x100a7ed0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jne 0x100a7e92
lea edx, [esi + 4]
push edx
push eax
call fcn.100ab4e0
jmp 0x100a7ed0
call eax
push dword [ebp + 0xc]
push dword [eax + 0x18]
push dword [eax + 0x14]
call fcn.100aaad0
add esp, 0xc
test al, al
je 0x100a7ed0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x100a7ebe
mov dword [eax], 0
mov dword [eax + 4], 0
mov edx, dword [esi + 8]
test edx, edx
je 0x100a7eab
lock add dword [edx + 4], 1
mov edx, dword [esi + 4]
mov dword [eax], edx
add eax, 4
mov edx, dword [esi + 8]
mov dword [eax], edx
add dword [ecx + 4], 8
jmp 0x100a7ed0
lea edx, [esi + 4]
push edx
push eax
call fcn.100ab4e0
nop dword [eax + eax]
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x100a7f80
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
cmp byte [ebp + 0x10], 0
je 0x100a7f20
call eax
push dword [ebp + 0xc]
push dword [eax + 0x18]
push dword [eax + 0x14]
call fcn.100aacb0
add esp, 0xc
test al, al
je 0x100a7f80
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jne 0x100a7f42
lea edx, [esi + 4]
push edx
push eax
call fcn.100ab4e0
jmp 0x100a7f80
call eax
push dword [ebp + 0xc]
push dword [eax + 0x18]
push dword [eax + 0x14]
call fcn.100aaad0
add esp, 0xc
test al, al
je 0x100a7f80
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x100a7f6e
mov dword [eax], 0
mov dword [eax + 4], 0
mov edx, dword [esi + 8]
test edx, edx
je 0x100a7f5b
lock add dword [edx + 4], 1
mov edx, dword [esi + 4]
mov dword [eax], edx
add eax, 4
mov edx, dword [esi + 8]
mov dword [eax], edx
add dword [ecx + 4], 8
jmp 0x100a7f80
lea edx, [esi + 4]
push edx
push eax
call fcn.100ab4e0
nop dword [eax + eax]
mov eax, dword [esi + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esi + 0x24], eax
cmp edx, dword [esi + 0x24]
je 0x100a7fb7
nop word cs:[eax + eax]
nop dword [eax + eax]
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], edx
push edx
call fcn.100aad90
mov edx, dword [esi + 0xc]
add edx, 8
cmp edx, dword [esi + 0x24]
jne 0x100a7fa0
mov edi, dword [esi + 8]
test edi, edi
je 0x100a7d60
lock sub dword [edi + 4], 1
jne 0x100a7d60
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock sub dword [edi + 8], 1
jne 0x100a7d60
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x100a7d60
lea ecx, [esi + 0x10]
call fcn.100aafd0
mov eax, dword [esi + 0x10]
mov dword [esi + 0x10], 0
push 8
push eax
call fcn.102e53ef
add esp, 8
mov eax, dword [esi + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc