Function at 0x4686f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x545d00
push eax
mov eax, 0x1458
mov dword fs:[0], esp
call fcn.00514210
mov eax, dword [ebp + 0x28]
push esi
push edi
mov edi, eax
and edi, 2
jne 0x468739
cmp dword [0x5d3270], edi
je 0x468739
cmp byte [0x5cb2b1], 0
jne 0x468733
test al, 1
je 0x468739
mov byte [ebp + 0x2b], 1
jmp 0x46873d
mov byte [ebp + 0x2b], 0
mov esi, dword [ebp + 0x20]
xor eax, eax
mov word [ebp - 0x1464], ax
mov byte [ebp - 0x464], al
mov dword [ebp - 4], 0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], eax
call fcn.00469040
xor ecx, ecx
mov dword [ebp + 0x20], eax
add esp, 4
mov dword [ebp - 0x64], 0
cmp byte [esi + 8], cl
mov eax, 8
cmovne ecx, eax
mov dword [ebp - 0x60], ecx
mov ecx, 1
lock xadd dword [0x5d333c], ecx
inc ecx
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x54], ecx
test eax, eax
je 0x4687a5
cmp word [eax], 0
mov dword [ebp - 0x50], eax
jne 0x4687ac
mov dword [ebp - 0x50], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x4c], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [0x5d3244]
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x34], xmm0
test eax, eax
je 0x468802
call eax
mov dword [ebp - 0x18], eax
jmp 0x468809
mov dword [ebp - 0x18], 0
mov eax, dword [0x5d3238]
test eax, eax
je 0x468818
lea ecx, [ebp - 0x64]
push ecx
call eax
mov eax, dword [0x5d323c]
test eax, eax
je 0x468833
push 0x400
lea ecx, [ebp - 0x464]
push ecx
lea ecx, [ebp - 0x64]
push ecx
call eax
mov eax, dword [0x5d3240]
test eax, eax
je 0x468842
lea ecx, [ebp - 0x64]
push ecx
call eax
mov eax, dword [0x5d3278]
test eax, eax
je 0x46885d
cmp byte [ebp + 0x2b], 0
jne 0x46885d
test byte [ebp - 0x60], 2
jne 0x46885d
lea ecx, [ebp - 0x64]
push ecx
call eax
cmp dword [ebp - 0x5c], 0
jl 0x468868
call fcn.004691a0
cmp byte [0x5d321c], 0
jne 0x468891
mov eax, dword [0x5d3218]
test eax, eax
je 0x468881
call eax
movzx eax, al
jmp 0x46888d
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x4688a4
cmp byte [0x5cb2b0], 0
je 0x4688a4
test byte [ebp - 0x60], 2
jne 0x4688a4
mov al, 1
jmp 0x4688a6
xor al, al
cmp byte [ebp + 0x2b], 0
mov byte [ebp + 0x23], al
jne 0x4688d1
test al, al
jne 0x4688d1
mov eax, dword [0x5d3214]
test eax, eax
je 0x46892a
cmp byte [0x5d322c], 0
jne 0x46892a
push 0
push 0
lea ecx, [ebp - 0x64]
push ecx
call eax
jmp 0x46892a
mov eax, dword [0x5d3214]
test eax, eax
je 0x4688f5
cmp byte [0x5d322c], 0
jne 0x4688f5
push 0x800
lea ecx, [ebp - 0x1464]
push ecx
lea ecx, [ebp - 0x64]
push ecx
call eax
cmp word [ebp - 0x1464], 0
jne 0x468917
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x1464]
push 0x800
push eax
call fcn.0044d300
add esp, 0xc
cmp byte [ebp + 0x23], 0
je 0x46892a
lea eax, [ebp - 0x1464]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [ebp - 0x60], 4
jne 0x468939
cmp byte [0x5d3224], 0
je 0x468944
mov eax, dword [0x5d324c]
test eax, eax
je 0x468944
call eax
test byte [ebp - 0x60], 1
mov dword [ebp - 4], 0xffffffff
je 0x46895a
lea eax, [ebp - 0x64]
push eax
call fcn.004690d0
cmp byte [ebp + 0x2b], 0
je 0x468971
lea eax, [ebp - 0x1464]
push eax
lea eax, [ebp - 0x64]
push eax
call dword [0x5d3270]
test edi, edi
je 0x46897a
call fcn.004690a0
lea eax, [ebp - 0x64]
push eax
call fcn.004690b0
add esp, 4
lea eax, [ebp - 0x64]
push eax
call fcn.004690d0
int3