Function at 0x100c9a60
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x180
mov esi, esp
mov dword [esi + 0x168], ebp
mov dword [esi + 0x16c], esp
mov dword [esi + 0x178], 0xffffffff
mov dword [esi + 0x174], 0x100cf150
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x170]
mov edx, dword fs:[0]
mov dword [esi + 0x170], edx
mov dword fs:[0], ecx
mov byte [esi + 2], 1
mov dword [esi + 0x178], 0
movsd xmm1, qword [eax + 0x30]
movsd xmm2, qword [eax + 0x28]
movsd xmm0, qword [eax + 0x38]
movsd qword [esi + 0x90], xmm1
movsd xmm1, qword [eax + 0x20]
movsd qword [esi + 0x88], xmm2
movsd xmm2, qword [eax + 0x18]
movsd qword [esi + 0x98], xmm0
movsd qword [esi + 0x80], xmm1
movsd xmm1, qword [eax + 0x10]
movsd qword [esi + 0x78], xmm2
movsd xmm2, qword [eax]
movsd qword [esi + 0x70], xmm1
movsd xmm1, qword [eax + 8]
movsd qword [esi + 0x60], xmm2
movsd qword [esi + 0x68], xmm1
call fcn.10160520
movsd xmm1, qword [esi + 0x90]
movsd xmm2, qword [esi + 0x88]
movsd xmm0, qword [esi + 0x98]
mov dword [esi + 0x10], eax
lea eax, [esi + 0x10]
mov dword [esi + 0x14], edx
movsd qword [esi + 0x50], xmm1
movsd xmm1, qword [esi + 0x80]
movsd qword [esi + 0x48], xmm2
movsd xmm2, qword [esi + 0x78]
movsd qword [esi + 0x58], xmm0
movsd qword [esi + 0x40], xmm1
movsd xmm1, qword [esi + 0x70]
movsd qword [esi + 0x38], xmm2
movsd xmm2, qword [esi + 0x60]
movsd qword [esi + 0x30], xmm1
movsd xmm1, qword [esi + 0x68]
movsd qword [esi + 0x20], xmm2
movsd qword [esi + 0x28], xmm1
mov dword [esi + 0x1c], eax
call fcn.1014ec00
mov edi, eax
movzx eax, byte [eax + 0x38]
mov dword [esi + 4], edi
test eax, eax
je 0x100c9bb6
cmp eax, 1
je 0x100c9bd9
cmp byte [esi + 0x5c], 2
jne 0x100c9db7
mov al, 1
mov dword [esi + 0x178], 0
jmp 0x100c9d49
mov byte [esi + 3], 1
mov dword [esi + 0x178], 1
push 0x10060400
push edi
call fcn.101ac400
add esp, 8
mov edi, dword [esi + 4]
mov byte [edi + 0x38], 1
lea eax, [esi + 0x1c]
lea ebx, [esi + 0xe4]
push 0x44
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [edi + 0x18]
cmp eax, 0x7ffffffe
mov dword [esi + 0xc], eax
ja 0x100c9d15
inc eax
mov dword [edi + 0x18], eax
lea eax, [esi + 0xa0]
mov edi, dword [edi + 0x1c]
push 0x44
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
test edi, edi
je 0x100c9d2e
movsd xmm1, qword [esi + 0x118]
movsd xmm2, qword [esi + 0x110]
movsd xmm0, qword [esi + 0x120]
mov eax, dword [esi + 0xa0]
movsd qword [esi + 0x158], xmm1
movsd xmm1, qword [esi + 0x108]
movsd qword [esi + 0x150], xmm2
movsd xmm2, qword [esi + 0x100]
movsd qword [esi + 0x160], xmm0
movsd qword [esi + 0x148], xmm1
movsd xmm1, qword [esi + 0xf8]
movsd qword [esi + 0x140], xmm2
movsd xmm2, qword [esi + 0xe8]
movsd qword [esi + 0x138], xmm1
movsd xmm1, qword [esi + 0xf0]
movsd qword [esi + 0x128], xmm2
movsd qword [esi + 0x130], xmm1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
lock inc dword [edi]
jle 0x100c9d61
lea edx, [esi + 0x128]
mov dword [esi + 0x178], 3
push eax
push ecx
push edi
add edi, 0x38
push edx
push edi
call fcn.1006e740
add esp, 0x14
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
test edx, edx
je 0x100c9cfb
mov eax, dword [esi + 4]
mov dword [esi + 0x178], 4
add eax, 0x1c
push edx
push eax
call fcn.1015eaa0
mov eax, dword [esi + 4]
add esp, 8
dec dword [eax + 0x18]
mov eax, dword [esi + 0x170]
mov dword fs:[0], eax
mov eax, dword [esi + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0x178], 2
push 0x101df21c
call fcn.101cc7c0
add esp, 4
jmp 0x100c9d61
cmp byte [esi + 0xe0], 2
jne 0x100c9d63
mov eax, dword [esi + 4]
dec dword [eax + 0x18]
mov dword [esi + 0x178], 0
xor eax, eax
mov edx, dword [ebp + 0xc]
lea ecx, [esi + 0xa0]
mov byte [esi + 0xa0], al
mov byte [esi + 2], 0
call fcn.101c8b60
ud2
lea ecx, [esi + 0xa8]
mov dword [esi + 0x178], 6
call fcn.1002b5a0
lea eax, [esi + 0xa4]
mov dword [esi + 0x178], 5
push eax
call fcn.10094360
add esp, 4
mov eax, dword [esi + 0xa4]
lock dec dword [eax]
jne 0x100c9d37
lea eax, [esi + 0xa4]
mov dword [esi + 0x178], 3
push eax
call fcn.1006b260
add esp, 4
jmp 0x100c9d37
lea ecx, [esi + 0x24]
mov dword [esi + 0x178], 8
call fcn.1002b5a0
lea eax, [esi + 0x20]
mov dword [esi + 0x178], 7
push eax
call fcn.10094360
add esp, 4
mov eax, dword [esi + 0x20]
lock dec dword [eax]
jne 0x100c9ba5
lea eax, [esi + 0x20]
mov byte [esi + 2], 0
mov dword [esi + 0x178], 0
push eax
call fcn.1006b260
add esp, 4
jmp 0x100c9ba5