Function at 0x100c7f80
Capabilities:
Check for peb beingdebugged flag
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x170
mov esi, esp
mov dword [esi + 0x158], ebp
mov dword [esi + 0x15c], esp
mov dword [esi + 0x168], 0xffffffff
mov dword [esi + 0x164], 0x100cf0d0
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x160]
mov edx, dword fs:[0]
mov dword [esi + 0x160], edx
mov dword fs:[0], ecx
mov byte [esi + 2], 0
mov dword [esi + 0x168], 0
movsd xmm2, qword [eax + 0x28]
movsd xmm1, qword [eax + 0x20]
mov ecx, dword [eax + 0x38]
movsd xmm0, qword [eax + 0x30]
movsd qword [esi + 0xc0], xmm2
movsd qword [esi + 0xb8], xmm1
movsd xmm2, qword [eax + 0x18]
movsd xmm1, qword [eax + 0x10]
mov dword [esi + 0xd0], ecx
movsd qword [esi + 0xc8], xmm0
movsd qword [esi + 0xb0], xmm2
movsd qword [esi + 0xa8], xmm1
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esi + 0xa0], xmm1
movsd qword [esi + 0x98], xmm2
call fcn.10160520
movsd xmm2, qword [esi + 0xc0]
movsd xmm1, qword [esi + 0xb8]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0xd0]
movsd xmm0, qword [esi + 0xc8]
mov dword [esi + 0x54], edx
movsd qword [esi + 0x84], xmm2
movsd qword [esi + 0x7c], xmm1
movsd xmm2, qword [esi + 0xb0]
movsd xmm1, qword [esi + 0xa8]
mov dword [esi + 0x94], eax
lea eax, [esi + 0x50]
movsd qword [esi + 0x8c], xmm0
movsd qword [esi + 0x74], xmm2
movsd qword [esi + 0x6c], xmm1
movsd xmm2, qword [esi + 0x98]
movsd xmm1, qword [esi + 0xa0]
movsd qword [esi + 0x64], xmm1
movsd qword [esi + 0x5c], xmm2
mov dword [esi + 0x58], eax
call fcn.1014ec00
movzx ecx, byte [eax + 0x38]
mov dword [esi + 4], eax
test ecx, ecx
je 0x100c80ee
cmp ecx, 1
je 0x100c8111
cmp byte [esi + 0x94], 2
je 0x100c80e7
lea ecx, [esi + 0x5c]
mov byte [esi + 2], 1
call fcn.1002b5a0
mov al, 1
jmp 0x100c8322
mov byte [esi + 3], 0
mov dword [esi + 0x168], 1
push 0x10060400
push eax
call fcn.101ac400
add esp, 8
mov eax, dword [esi + 4]
mov byte [eax + 0x38], 1
movsd xmm1, qword [esi + 0x88]
movsd xmm2, qword [esi + 0x80]
movsd xmm0, qword [esi + 0x90]
movsd qword [esi + 0x40], xmm1
movsd xmm1, qword [esi + 0x78]
movsd qword [esi + 0x38], xmm2
movsd xmm2, qword [esi + 0x70]
movsd qword [esi + 0x48], xmm0
movsd qword [esi + 0x30], xmm1
movsd xmm1, qword [esi + 0x68]
movsd qword [esi + 0x28], xmm2
movsd xmm2, qword [esi + 0x58]
movsd qword [esi + 0x20], xmm1
movsd xmm1, qword [esi + 0x60]
movsd qword [esi + 0x10], xmm2
movsd qword [esi + 0x18], xmm1
mov ecx, dword [eax + 0x18]
cmp ecx, 0x7fffffff
mov dword [esi + 8], ecx
jae 0x100c82cc
inc ecx
mov dword [eax + 0x18], ecx
movsd xmm1, qword [esi + 0x40]
mov eax, dword [eax + 0x1c]
movsd xmm2, qword [esi + 0x38]
movsd xmm0, qword [esi + 0x48]
movsd qword [esi + 0x108], xmm1
movsd xmm1, qword [esi + 0x30]
movsd qword [esi + 0x100], xmm2
movsd xmm2, qword [esi + 0x28]
test eax, eax
movsd qword [esi + 0x110], xmm0
movsd qword [esi + 0xf8], xmm1
movsd xmm1, qword [esi + 0x20]
movsd qword [esi + 0xf0], xmm2
movsd xmm2, qword [esi + 0x10]
movsd qword [esi + 0xe8], xmm1
movsd xmm1, qword [esi + 0x18]
movsd qword [esi + 0xd8], xmm2
movsd qword [esi + 0xe0], xmm1
je 0x100c82e5
movsd xmm2, qword [esi + 0x3c]
movsd xmm1, qword [esi + 0x34]
movsd xmm0, qword [esi + 0x44]
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0xd8]
movsd qword [esi + 0x140], xmm2
movsd qword [esi + 0x138], xmm1
movsd xmm2, qword [esi + 0x2c]
movsd xmm1, qword [esi + 0x24]
movsd qword [esi + 0x148], xmm0
mov dword [esi + 0x150], edx
movsd qword [esi + 0x130], xmm2
movsd qword [esi + 0x128], xmm1
movsd xmm2, qword [esi + 0x14]
movsd xmm1, qword [esi + 0x1c]
movsd qword [esi + 0x120], xmm1
movsd qword [esi + 0x118], xmm2
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
lock inc dword [eax]
jle 0x100c833a
mov dword [esi + 0x168], 3
lea edi, [esi + 0x118]
push edx
push ecx
push eax
add eax, 0x38
push edi
push eax
call fcn.1006e530
add esp, 0x14
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
test edx, edx
je 0x100c82b2
mov eax, dword [esi + 4]
mov dword [esi + 0x168], 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 + 0x160]
mov dword fs:[0], eax
mov eax, dword [esi + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0x168], 2
push 0x101df21c
call fcn.101cc7c0
add esp, 4
jmp 0x100c833a
cmp byte [esi + 0x114], 2
je 0x100c830d
lea ecx, [esi + 0xdc]
mov dword [esi + 0x168], 3
call fcn.1002b5a0
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x18]
dec eax
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [eax + 0x18], ecx
mov dword [esi + 0x168], 0
xor eax, eax
mov edx, dword [ebp + 0xc]
lea ecx, [esi + 0xd8]
mov byte [esi + 0xd8], al
mov byte [esi + 2], 1
call fcn.101c8b60
ud2