Function at 0x406f55
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1464
call fcn.00412ca0
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov ebx, ecx
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], eax
xor eax, eax
mov ecx, dword [esi]
push edi
mov word [esp + 0x470], ax
mov edi, edx
mov byte [esp + 0x70], al
mov eax, dword [esi + 4]
push ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
call fcn.00405530
and dword [esp + 0x1c], 0
cmp byte [esi + 8], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 3
je 0x406fbf
mov dword [esp + 0x1c], 8
xor ecx, ecx
inc ecx
lock xadd dword [0x41346c], ecx
inc ecx
and dword [esp + 0x2c], 0
mov dword [esp + 0x28], ecx
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov dword [esp + 0x30], eax
xor ecx, ecx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], edi
lea edi, [esp + 0x58]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x6c], ebx
stosd dword es:[edi], eax
mov esi, dword [0x4134ec]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esp + 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test esi, esi
je 0x407035
mov ecx, esi
call dword [0x414340]
call esi
mov dword [esp + 0x64], eax
jmp 0x407039
mov dword [esp + 0x64], ecx
mov esi, dword [0x4134f8]
test esi, esi
je 0x407052
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call dword [0x414340]
call esi
mov esi, dword [0x4134f4]
test esi, esi
je 0x407075
push 0x400
lea eax, [esp + 0x74]
mov ecx, esi
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x414340]
call esi
mov esi, dword [0x4134f0]
test esi, esi
je 0x40708e
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call dword [0x414340]
call esi
mov esi, dword [0x4134d8]
test esi, esi
je 0x4070ae
test byte [esp + 0x1c], 2
jne 0x4070ae
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call dword [0x414340]
call esi
cmp dword [esp + 0x20], 0
jl 0x4070c7
mov ecx, 0x8000ffff
mov dword [esp + 0x20], ecx
call fcn.004056e1
mov dword [esp + 0x24], eax
cmp byte [0x41350d], 0
jne 0x4070f9
mov esi, dword [0x413510]
test esi, esi
je 0x4070e9
mov ecx, esi
call dword [0x414340]
call esi
movzx eax, al
jmp 0x4070f5
call dword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x407100
test byte [esp + 0x1c], 2
je 0x407128
mov esi, dword [0x413514]
test esi, esi
je 0x407184
cmp byte [0x413504], 0
jne 0x407184
push 0
push 0
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call dword [0x414340]
call esi
jmp 0x407184
mov esi, dword [0x413514]
mov edi, 0x800
test esi, esi
je 0x407158
cmp byte [0x413504], 0
jne 0x407158
push edi
lea eax, [esp + 0x474]
mov ecx, esi
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x414340]
call esi
cmp word [esp + 0x470], 0
jne 0x407176
lea eax, [esp + 0x18]
mov edx, edi
push eax
lea ecx, [esp + 0x474]
call fcn.00405217
lea eax, [esp + 0x470]
push eax
call dword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
test byte [esp + 0x1c], 4
jne 0x407194
cmp byte [0x41350c], 0
je 0x4071a8
mov esi, dword [0x4134e8]
test esi, esi
je 0x4071a8
mov ecx, esi
call dword [0x414340]
call esi
lea ecx, [esp + 0x18]
call fcn.00405c1d
int3