Function at 0x541d2c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00406b90
mov eax, dword [ebp - 8]
call fcn.00406b90
mov eax, dword [ebp + 0x10]
call fcn.00406b90
xor eax, eax
push ebp
push 0x541f67
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00406bfc
cmp byte [ebp + 0xc], 0
je 0x541dc0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0x11
lea edx, [ebp - 0x34]
mov ecx, 1
mov eax, 0x541f84
call fcn.004732a0
mov eax, dword [ebp - 0x24]
call fcn.00406c34
push eax
call sub.kernel32.dll_OutputDebugStringW
cmp dword [0x6e16c4], 0
je 0x541f2c
mov eax, dword [0x6e16c4]
cmp byte [eax + 0x40], 0
je 0x541f2c
mov eax, dword [0x6e16c4]
cmp byte [eax + 0x41], 0
je 0x541f2c
xor eax, eax
push ebp
push 0x541e2a
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0047566c
fstp qword [ebp - 0x20]
wait
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 0x541fc0
call fcn.0047632c
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x18]
call fcn.00406bfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x541e41
lea eax, [ebp - 0x14]
push eax
call sub.kernel32.dll_GetCurrentThreadId_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x38]
call fcn.004714d4
mov eax, dword [ebp - 0x38]
mov ecx, 4
mov edx, 1
call fcn.0040720c
cmp dword [ebp + 0x10], 0
je 0x541e8b
push 0x542004
push dword [ebp + 0x10]
push 0x542014
push dword [ebp - 8]
lea eax, [ebp - 8]
mov edx, 4
call fcn.0040705c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0x11
mov eax, dword [0x6e16c8]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0x11
mov eax, dword [ebp - 4]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0x11
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0x11
lea edx, [ebp - 0x60]
mov ecx, 4
mov eax, 0x542024
call fcn.004732a0
lea edx, [ebp - 0x64]
mov eax, dword [ebp + 8]
call fcn.004712c8
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
call fcn.00406f8c
call fcn.00541918
test al, al
je 0x541f2c
xor eax, eax
push ebp
push 0x541f25
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x10]
mov eax, dword [0x6e16e4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x541f2c
call fcn.0054195c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x541f6e
lea eax, [ebp - 0x64]
call fcn.00406b98
lea eax, [ebp - 0x38]
call fcn.00406b98
lea eax, [ebp - 0x24]
call fcn.00406b98
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00406ba0
lea eax, [ebp + 0x10]
call fcn.00406b98
ret