Function at 0x42672c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x426735
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404bd0
xor eax, eax
push ebp
push 0x426a4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4a48a4]
cmp dword [eax], 2
je 0x42677d
mov eax, dword [ebp - 4]
call fcn.00404be0
push eax
call sub.kernel32.dll_OutputDebugStringA
jmp 0x426a33
lea eax, [ebp - 0xc]
call fcn.00404710
cmp byte [0x4a5a0d], 1
je 0x426817
cmp byte [0x4a5a0d], 3
je 0x426817
push 0x426a68
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.00408e74
push dword [ebp - 0x14]
push 0x426a74
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404aa0
test bl, bl
je 0x426817
call sub.kernel32.dll_GetCurrentThreadId_1
mov ebx, eax
xor eax, eax
push ebp
push 0x4267f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x10]
call fcn.00408f60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4267fa
push dword [ebp - 0xc]
push 0x426a80
push dword [ebp - 0x10]
push 0x426a74
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00404aa0
cmp byte [0x4a2538], 0
je 0x4269a5
xor eax, eax
push ebp
push 0x426994
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
xor edx, edx
push edx
push eax
mov eax, dword [0x4a2540]
cdq
cmp edx, dword [esp + 4]
jne 0x426852
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x42698a
jmp 0x42685a
pop edx
pop eax
jle 0x42698a
cmp byte [0x4a2544], 0
jne 0x426916
cmp dword [0x4a253c], 0
jne 0x42688c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00402b08
mov edx, dword [ebp - 0x18]
mov eax, 0x4a253c
mov ecx, 0x426a8c
call fcn.00404a2c
mov edx, dword [0x4a253c]
mov eax, 0x4a5a28
call fcn.00402ed0
mov eax, dword [0x4a253c]
call fcn.00409490
test al, al
je 0x4268bb
mov eax, 0x4a5a28
call fcn.00402c6c
call fcn.004028dc
jmp 0x4268ca
mov eax, 0x4a5a28
call fcn.00402c60
call fcn.004028dc
mov byte [0x4a2544], 1
push 0x426a9c
call fcn.0040af1c
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x20]
call fcn.0040bb84
push dword [ebp - 0x20]
push 0x426acc
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404aa0
mov edx, dword [ebp - 0x1c]
mov eax, 0x4a5a28
call fcn.00404dd0
call fcn.00403330
call fcn.004028dc
cmp byte [0x4a2544], 0
je 0x42698a
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x28]
call fcn.00408f60
push dword [ebp - 0x28]
push 0x426ae4
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2c]
call fcn.00408f60
push dword [ebp - 0x2c]
push 0x426a74
push dword [ebp - 0xc]
push dword [ebp - 4]
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.00404aa0
mov edx, dword [ebp - 0x24]
mov eax, 0x4a5a28
call fcn.00404dd0
call fcn.00403330
call fcn.004028dc
mov eax, 0x4a5a28
call fcn.00402f80
call fcn.004028dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4269a5
cmp byte [0x4a252c], 0
je 0x426a33
mov eax, dword [ebp - 4]
call fcn.004049e0
cmp eax, 0x1f4
jge 0x426a2d
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404a2c
mov eax, dword [ebp - 0x30]
call fcn.00426410
jmp 0x426a33
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x1f4
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404c40
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00404a2c
lea eax, [ebp - 4]
mov ecx, 0x1f4
mov edx, 1
call fcn.00404c80
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00408d74
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 4]
call fcn.004047a8
mov eax, dword [ebp - 8]
call fcn.00426410
cmp dword [ebp - 4], 0
jne 0x4269d9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426a55
lea eax, [ebp - 0x38]
mov edx, 0xe
call fcn.00404734
ret