Function at 0x10008910
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100414f0
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1468
call fcn.10040740
push esi
push edi
mov eax, dword [0x100c2004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1470], edx
mov dword [ebp - 0x1478], ecx
cmp dword [0x100c48d4], 0
mov eax, dword [ebx + 0x14]
mov edi, dword [ebx + 8]
setne byte [ebp - 0x1469]
mov dword [ebp - 0x1474], eax
mov edx, dword [ebx + 0x18]
xor eax, eax
mov dword [ebp - 4], 0
mov word [ebp - 0x1410], ax
mov byte [ebp - 0x410], al
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ebp - 0x1460], ecx
mov dword [ebp - 0x145c], eax
call fcn.10008120
xor ecx, ecx
mov dword [ebp - 0x1468], 0
cmp byte [edx + 8], cl
mov esi, eax
mov eax, 8
cmovne ecx, eax
mov dword [ebp - 0x1464], ecx
mov ecx, 1
lock xadd dword [0x100c48d0], ecx
inc ecx
mov dword [ebp - 0x1458], ecx
mov dword [ebp - 0x1454], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x1450], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1470]
mov dword [ebp - 0x1440], eax
mov eax, dword [ebp - 0x1474]
mov dword [ebp - 0x1418], eax
mov eax, dword [ebp - 0x1478]
mov dword [ebp - 0x1414], eax
mov eax, dword [0x100c48a0]
mov dword [ebp - 0x1444], edi
mov dword [ebp - 0x143c], esi
mov dword [ebp - 0x144c], 0
mov dword [ebp - 0x1448], 0
movq qword [ebp - 0x1428], xmm0
mov dword [ebp - 0x1420], 0
movups xmmword [ebp - 0x1438], xmm0
test eax, eax
je 0x10008a63
call eax
mov dword [ebp - 0x141c], eax
jmp 0x10008a6d
mov dword [ebp - 0x141c], 0
mov eax, dword [0x100c48a4]
test eax, eax
je 0x10008a7f
lea ecx, [ebp - 0x1468]
push ecx
call eax
mov eax, dword [0x100c48a8]
test eax, eax
je 0x10008a9d
push 0x400
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [ebp - 0x1468]
push ecx
call eax
mov eax, dword [0x100c48ac]
test eax, eax
je 0x10008aaf
lea ecx, [ebp - 0x1468]
push ecx
call eax
mov eax, dword [0x100c48b0]
test eax, eax
je 0x10008ad3
cmp byte [ebp - 0x1469], 0
jne 0x10008ad3
test byte [ebp - 0x1464], 2
jne 0x10008ad3
lea ecx, [ebp - 0x1468]
push ecx
call eax
cmp dword [ebp - 0x1460], 0
jl 0x10008ae1
call fcn.10007490
cmp byte [0x100c48b4], 0
jne 0x10008b0a
mov eax, dword [0x100c48b8]
test eax, eax
je 0x10008afa
call eax
movzx eax, al
jmp 0x10008b06
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x10008b17
test byte [ebp - 0x1464], 2
jne 0x10008b17
mov al, 1
jmp 0x10008b19
xor al, al
cmp byte [ebp - 0x1469], 0
mov byte [ebp - 0x146a], al
jne 0x10008b4d
test al, al
jne 0x10008b4d
mov eax, dword [0x100c48c4]
test eax, eax
je 0x10008bae
cmp byte [0x100c48c0], 0
jne 0x10008bae
push 0
push 0
lea ecx, [ebp - 0x1468]
push ecx
call eax
jmp 0x10008bae
mov eax, dword [0x100c48c4]
test eax, eax
je 0x10008b74
cmp byte [0x100c48c0], 0
jne 0x10008b74
push 0x800
lea ecx, [ebp - 0x1410]
push ecx
lea ecx, [ebp - 0x1468]
push ecx
call eax
cmp word [ebp - 0x1410], 0
jne 0x10008b98
lea eax, [ebp - 0x1468]
mov edx, 0x800
push eax
lea ecx, [ebp - 0x1410]
call fcn.10008330
add esp, 4
cmp byte [ebp - 0x146a], 0
je 0x10008bae
lea eax, [ebp - 0x1410]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [ebp - 0x1464], 4
jne 0x10008bc0
cmp byte [0x100c48c8], 0
je 0x10008bcb
mov eax, dword [0x100c48cc]
test eax, eax
je 0x10008bcb
call eax
mov dword [ebp - 4], 0xffffffff
test byte [ebp - 0x1464], 1
je 0x10008be6
lea ecx, [ebp - 0x1468]
call fcn.10008870
cmp byte [ebp - 0x1469], 0
je 0x10008c03
lea eax, [ebp - 0x1410]
push eax
lea eax, [ebp - 0x1468]
push eax
call dword [0x100c48d4]
lea ecx, [ebp - 0x1468]
call fcn.10008840
lea ecx, [ebp - 0x1468]
call fcn.10008870
int3