Function at 0x1000b070
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a7407
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e0
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x20], esi
push edi
mov dword [ebp - 0x10], esp
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movups xmmword [esi + 0xc], xmm0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0xf
mov byte [esi + 0xc], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
lea edi, [esi + 0x30]
movups xmmword [edi], xmm0
lea eax, [edi + 0x10]
mov dword [edi + 0x14], 0xf
mov dword [eax], 0
mov dword [ebp - 0x14], eax
mov byte [edi], 0
movups xmmword [esi + 0x5c], xmm0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0xf
mov byte [esi + 0x5c], 0
movups xmmword [esi + 0x80], xmm0
movq qword [esi + 0x90], xmm0
mov dword [esi + 0x98], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x9c], 0xffffffff
mov dword [esi + 0x74], 2
mov dword [esi + 0xa0], 0
movups xmmword [esi + 0xb0], xmm0
movq qword [esi + 0xc0], xmm0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xcc], 0xffffffff
mov dword [esi + 0xa4], 2
mov dword [esi + 0xd0], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xe4], 0
movq qword [esi + 0xe8], xmm0
push 0x190
lea eax, [ebp - 0x1e8]
mov byte [ebp - 4], 7
push 0
push eax
call fcn.1017d200
lea eax, [ebp - 0x1e8]
push eax
push 0x202
call fcn.10040c80
add esp, 0x14
test eax, eax
jne 0x1000b42c
push 6
push 1
push 2
call fcn.10040c40
add esp, 0xc
mov dword [esi + 0x58], eax
cmp eax, 0xffffffff
je 0x1000b42c
mov ecx, esi
call fcn.100104e0
test al, al
je 0x1000b3f8
cmp dword [edi + 0x14], 0xf
jbe 0x1000b221
mov edi, dword [edi]
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
lea eax, [ebp - 0x40]
mov byte [edi], 0
push eax
mov byte [esi + 0x49], 1
call fcn.10017c00
add esp, 4
push eax
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.1000d900
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.100088a0
push 0xb0
mov dword [esi + 0xd4], 0xa
mov dword [esi + 0xd8], 0
mov dword [esi + 0x50], 0
mov byte [esi + 0x54], 1
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0x10010e80
call fcn.10043d44
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x1000b2a5
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.10009dd0
mov edi, eax
jmp 0x1000b2a7
xor edi, edi
mov dword [ebp - 0x34], edi
mov byte [ebp - 0x30], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0xc
test edi, edi
je 0x1000b425
mov dword [ebp - 0x1c], edi
lea ecx, [edi + 4]
mov byte [ebp - 0x18], 1
lock inc dword [ecx]
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x1000b2e8
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x1000b2e0
mov eax, dword [ecx]
push edi
jmp 0x1000b2e6
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov eax, dword [esi + 4]
mov byte [ebp - 4], 0xd
cmp eax, dword [esi + 8]
je 0x1000b302
xor ecx, ecx
mov dword [eax], edi
mov byte [eax + 4], 1
add dword [esi + 4], 8
jmp 0x1000b311
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov ecx, esi
call fcn.1000a1e0
mov ecx, dword [ebp - 0x1c]
or edi, 0xffffffff
mov byte [ebp - 4], 7
test ecx, ecx
je 0x1000b339
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x1000b339
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x1000b333
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x1000b337
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [esi + 0xc]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x18], 0x1000d540
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1000a7e0
add esp, 0x10
mov edx, eax
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0xe
cmp ecx, dword [esi + 8]
je 0x1000b383
mov eax, dword [edx]
mov dword [edx], 0
mov dword [ecx], eax
mov byte [ecx + 4], 1
add dword [esi + 4], 8
jmp 0x1000b38c
push edx
push ecx
mov ecx, esi
call fcn.1000a1e0
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x1000b3e5
lock xadd dword [ecx + 4], edi
dec edi
jne 0x1000b3e5
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x1000b3bc
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10040c10
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10011440
add esp, 8
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
call fcn.1000b880
push 0x10201c84
lea eax, [ebp - 0x4c]
push eax
call fcn.1017c67f
push 4
call fcn.10010250
mov byte [esi + 0x49], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x4c], eax
call fcn.10040a30
call fcn.10040c10
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10011440
add esp, 8
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 8
call fcn.1000b880
push 0x10201c84
lea eax, [ebp - 0x58]
push eax
call fcn.1017c67f
int3