Function at 0x1000f94e
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001525d
mov eax, dword fs:[0]
push eax
mov eax, 0x146c
call fcn.100147c0
push ebx
push esi
push edi
mov eax, dword [0x10017104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov eax, dword [ebp + 8]
cmp dword [0x10017758], 0
mov dword [ebp - 0x1418], eax
mov eax, dword [ebp + 0x14]
setne byte [ebp - 0x1411]
mov dword [ebp - 0x1420], eax
mov edx, dword [ebp + 0x18]
xor ebx, ebx
mov dword [ebp - 4], ebx
xor eax, eax
mov word [ebp - 0x1410], ax
mov byte [ebp - 0x410], bl
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ebp - 0x1470], ecx
mov dword [ebp - 0x146c], eax
call fcn.10005b34
mov dword [ebp - 0x141c], eax
mov dword [ebp - 0x1478], ebx
mov dword [ebp - 0x1474], ebx
cmp byte [edx + 8], bl
je 0x1000f9f1
mov dword [ebp - 0x1474], 8
xor ebx, ebx
inc ebx
mov eax, ebx
lock xadd dword [0x100176e4], eax
inc eax
and dword [ebp - 0x1464], 0
mov dword [ebp - 0x1468], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x1460], eax
xor ecx, ecx
mov eax, dword [ebp - 0x1418]
mov dword [ebp - 0x1454], eax
mov eax, dword [ebp - 0x141c]
mov dword [ebp - 0x144c], eax
mov eax, dword [ebp - 0x1420]
mov dword [ebp - 0x1428], eax
xor eax, eax
mov dword [ebp - 0x1424], edi
lea edi, [ebp - 0x1438]
mov dword [ebp - 0x1450], esi
mov dword [ebp - 0x145c], ecx
mov dword [ebp - 0x1458], ecx
stosd dword es:[edi], eax
mov esi, dword [0x10017780]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x1448]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test esi, esi
je 0x1000fa89
mov ecx, esi
call dword [0x10018308]
call esi
mov dword [ebp - 0x142c], eax
jmp 0x1000fa8f
mov dword [ebp - 0x142c], ecx
mov esi, dword [0x1001778c]
test esi, esi
je 0x1000faaa
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x10018308]
call esi
mov esi, dword [0x10017788]
test esi, esi
je 0x1000fad1
push 0x400
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
lea eax, [ebp - 0x1478]
push eax
call dword [0x10018308]
call esi
mov esi, dword [0x10017784]
test esi, esi
je 0x1000faec
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x10018308]
call esi
mov esi, dword [0x10017750]
test esi, esi
je 0x1000fb19
cmp byte [ebp - 0x1411], 0
jne 0x1000fb19
test byte [ebp - 0x1474], 2
jne 0x1000fb19
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x10018308]
call esi
cmp dword [ebp - 0x1470], 0
jl 0x1000fb27
call fcn.10006cdc
cmp byte [0x100177a8], 0
jne 0x1000fb59
mov esi, dword [0x100177ac]
test esi, esi
je 0x1000fb49
mov ecx, esi
call dword [0x10018308]
call esi
movzx eax, al
jmp 0x1000fb55
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x1000fb62
test byte [ebp - 0x1474], 2
je 0x1000fb64
xor bl, bl
cmp byte [ebp - 0x1411], 0
jne 0x1000fb9a
test bl, bl
jne 0x1000fb9a
mov esi, dword [0x100177b0]
test esi, esi
je 0x1000fbfa
cmp byte [0x10017798], bl
jne 0x1000fbfa
push 0
push 0
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x10018308]
call esi
jmp 0x1000fbfa
mov esi, dword [0x100177b0]
mov edi, 0x800
test esi, esi
je 0x1000fbcb
cmp byte [0x10017798], 0
jne 0x1000fbcb
push edi
lea eax, [ebp - 0x1410]
mov ecx, esi
push eax
lea eax, [ebp - 0x1478]
push eax
call dword [0x10018308]
call esi
cmp word [ebp - 0x1410], 0
jne 0x1000fbe9
lea eax, [ebp - 0x1478]
mov edx, edi
push eax
lea ecx, [ebp - 0x1410]
call fcn.1000575f
test bl, bl
je 0x1000fbfa
lea eax, [ebp - 0x1410]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [ebp - 0x1474], 4
jne 0x1000fc0c
cmp byte [0x100177a0], 0
je 0x1000fc20
mov esi, dword [0x10017778]
test esi, esi
je 0x1000fc20
mov ecx, esi
call dword [0x10018308]
call esi
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x1474], 1
je 0x1000fc38
lea ecx, [ebp - 0x1478]
call fcn.10006a20
cmp byte [ebp - 0x1411], 0
je 0x1000fc5f
mov esi, dword [0x10017758]
lea eax, [ebp - 0x1410]
push eax
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x10018308]
call esi
lea ecx, [ebp - 0x1478]
call fcn.100063f4
jmp 0x1000fc2d