Function at 0x405e80
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 0x408d50
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1468
call fcn.00408980
push esi
push edi
mov eax, dword [0x40e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x146c], edx
mov dword [ebp - 0x1474], ecx
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x1470], eax
mov esi, dword [ebx + 0x18]
xor eax, eax
mov dword [ebp - 4], 0
mov word [ebp - 0x1410], ax
mov byte [ebp - 0x410], al
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push ecx
mov dword [ebp - 0x1460], ecx
mov dword [ebp - 0x145c], eax
call fcn.00403380
xor ecx, ecx
mov dword [ebp - 0x1468], 3
add esp, 4
mov edi, eax
cmp byte [esi + 8], cl
mov eax, 8
cmovne ecx, eax
mov dword [ebp - 0x1464], ecx
mov ecx, 1
lock xadd dword [0x40fae8], 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 - 0x146c]
mov dword [ebp - 0x1440], eax
mov eax, dword [ebp - 0x1470]
mov dword [ebp - 0x1418], eax
mov eax, dword [ebp - 0x1474]
mov dword [ebp - 0x1414], eax
mov eax, dword [0x40fb64]
mov dword [ebp - 0x1444], str.D:ProjectsMyToolsMyEdgecommonwil_resource.h
mov dword [ebp - 0x143c], edi
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 0x405fca
call eax
mov dword [ebp - 0x141c], eax
jmp 0x405fd4
mov dword [ebp - 0x141c], 0
mov eax, dword [0x40fb24]
test eax, eax
je 0x405fe6
lea ecx, [ebp - 0x1468]
push ecx
call eax
mov eax, dword [0x40fb40]
test eax, eax
je 0x406004
push 0x400
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [ebp - 0x1468]
push ecx
call eax
mov eax, dword [0x40fb38]
test eax, eax
je 0x406016
lea ecx, [ebp - 0x1468]
push ecx
call eax
mov eax, dword [0x40fb50]
test eax, eax
je 0x406031
test byte [ebp - 0x1464], 2
jne 0x406031
lea ecx, [ebp - 0x1468]
push ecx
call eax
cmp dword [ebp - 0x1460], 0
jl 0x406054
mov ecx, 0x8000ffff
mov dword [ebp - 0x1460], 0x8000ffff
call fcn.00403560
mov dword [ebp - 0x145c], eax
cmp byte [0x40fb18], 0
jne 0x40607d
mov eax, dword [0x40fb10]
test eax, eax
je 0x40606d
call eax
movzx eax, al
jmp 0x406079
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x406086
test byte [ebp - 0x1464], 2
je 0x4060a7
mov eax, dword [0x40fb1c]
test eax, eax
je 0x4060ff
cmp byte [0x40fb2c], 0
jne 0x4060ff
push 0
push 0
lea ecx, [ebp - 0x1468]
push ecx
call eax
jmp 0x4060ff
mov eax, dword [0x40fb1c]
test eax, eax
je 0x4060ce
cmp byte [0x40fb2c], 0
jne 0x4060ce
push 0x800
lea ecx, [ebp - 0x1410]
push ecx
lea ecx, [ebp - 0x1468]
push ecx
call eax
cmp word [ebp - 0x1410], 0
jne 0x4060f2
lea eax, [ebp - 0x1468]
mov edx, 0x800
push eax
lea ecx, [ebp - 0x1410]
call fcn.00402fc0
add esp, 4
lea eax, [ebp - 0x1410]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [ebp - 0x1464], 4
jne 0x406111
cmp byte [0x40fb20], 0
je 0x40611c
mov eax, dword [0x40fb48]
test eax, eax
je 0x40611c
call eax
lea ecx, [ebp - 0x1468]
mov dword [ebp - 4], 0xffffffff
call fcn.00404690
int3