Function at 0x40ac04
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1464
call fcn.00428250
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.00406c60
and dword [esp + 0x1c], 0
cmp byte [esi + 8], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 3
je 0x40ac6e
mov dword [esp + 0x1c], 8
xor ecx, ecx
inc ecx
lock xadd dword [0x429cb8], 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 [0x429c90]
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 0x40ace4
mov ecx, esi
call dword [0x42b5a4]
call esi
mov dword [esp + 0x64], eax
jmp 0x40ace8
mov dword [esp + 0x64], ecx
mov esi, dword [0x429c58]
test esi, esi
je 0x40ad01
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call dword [0x42b5a4]
call esi
mov esi, dword [0x429c74]
test esi, esi
je 0x40ad24
push 0x400
lea eax, [esp + 0x74]
mov ecx, esi
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x42b5a4]
call esi
mov esi, dword [0x429c6c]
test esi, esi
je 0x40ad3d
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call dword [0x42b5a4]
call esi
mov esi, dword [0x429c80]
test esi, esi
je 0x40ad5d
test byte [esp + 0x1c], 2
jne 0x40ad5d
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call dword [0x42b5a4]
call esi
cmp dword [esp + 0x20], 0
jl 0x40ad76
mov ecx, 0x8000ffff
mov dword [esp + 0x20], ecx
call fcn.00406e6d
mov dword [esp + 0x24], eax
cmp byte [0x429c4c], 0
jne 0x40ada8
mov esi, dword [0x429c44]
test esi, esi
je 0x40ad98
mov ecx, esi
call dword [0x42b5a4]
call esi
movzx eax, al
jmp 0x40ada4
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 0x40adaf
test byte [esp + 0x1c], 2
je 0x40add7
mov esi, dword [0x429c50]
test esi, esi
je 0x40ae33
cmp byte [0x429c60], 0
jne 0x40ae33
push 0
push 0
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call dword [0x42b5a4]
call esi
jmp 0x40ae33
mov esi, dword [0x429c50]
mov edi, 0x800
test esi, esi
je 0x40ae07
cmp byte [0x429c60], 0
jne 0x40ae07
push edi
lea eax, [esp + 0x474]
mov ecx, esi
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x42b5a4]
call esi
cmp word [esp + 0x470], 0
jne 0x40ae25
lea eax, [esp + 0x18]
mov edx, edi
push eax
lea ecx, [esp + 0x474]
call fcn.00406939
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 0x40ae43
cmp byte [0x429c54], 0
je 0x40ae57
mov esi, dword [0x429c7c]
test esi, esi
je 0x40ae57
mov ecx, esi
call dword [0x42b5a4]
call esi
lea ecx, [esp + 0x18]
call fcn.004073bb
int3