Function at 0x423738
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x423741
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.00404b64
xor eax, eax
push ebp
push 0x423a5a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x470080]
cmp dword [eax], 2
je 0x423789
mov eax, dword [ebp - 4]
call fcn.00404b74
push eax
call sub.kernel32.dll_OutputDebugStringA
jmp 0x423a3f
lea eax, [ebp - 0xc]
call fcn.004046a4
cmp byte [0x471a01], 1
je 0x423823
cmp byte [0x471a01], 3
je 0x423823
push 0x423a74
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.004086e4
push dword [ebp - 0x14]
push 0x423a80
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a34
test bl, bl
je 0x423823
call sub.kernel32.dll_GetCurrentThreadId_1
mov ebx, eax
xor eax, eax
push ebp
push 0x4237fc
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.004087d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x423806
push dword [ebp - 0xc]
push 0x423a8c
push dword [ebp - 0x10]
push 0x423a80
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00404a34
cmp byte [0x46e4e8], 0
je 0x4239b1
xor eax, eax
push ebp
push 0x4239a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
xor edx, edx
push edx
push eax
mov eax, dword [0x46e4f0]
cdq
cmp edx, dword [esp + 4]
jne 0x42385e
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x423996
jmp 0x423866
pop edx
pop eax
jle 0x423996
cmp byte [0x46e4f4], 0
jne 0x423922
cmp dword [0x46e4ec], 0
jne 0x423898
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00402ac0
mov edx, dword [ebp - 0x18]
mov eax, 0x46e4ec
mov ecx, 0x423a98
call fcn.004049c0
mov edx, dword [0x46e4ec]
mov eax, 0x471a1c
call fcn.00402e88
mov eax, dword [0x46e4ec]
call fcn.00408d00
test al, al
je 0x4238c7
mov eax, 0x471a1c
call fcn.00402c24
call fcn.00402894
jmp 0x4238d6
mov eax, 0x471a1c
call fcn.00402c18
call fcn.00402894
mov byte [0x46e4f4], 1
push 0x423aa8
call fcn.0040a6c4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x20]
call fcn.0040b32c
push dword [ebp - 0x20]
push 0x423ad8
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404a34
mov edx, dword [ebp - 0x1c]
mov eax, 0x471a1c
call fcn.00404d08
call fcn.004032e8
call fcn.00402894
cmp byte [0x46e4f4], 0
je 0x423996
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x28]
call fcn.004087d0
push dword [ebp - 0x28]
push 0x423af0
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2c]
call fcn.004087d0
push dword [ebp - 0x2c]
push 0x423a80
push dword [ebp - 0xc]
push dword [ebp - 4]
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.00404a34
mov edx, dword [ebp - 0x24]
mov eax, 0x471a1c
call fcn.00404d08
call fcn.004032e8
call fcn.00402894
mov eax, 0x471a1c
call fcn.00402f38
call fcn.00402894
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4239b1
cmp byte [0x46e4dc], 0
je 0x423a3f
mov eax, dword [ebp - 4]
call fcn.00404974
cmp eax, 0x1f4
jge 0x423a39
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.004049c0
mov eax, dword [ebp - 0x30]
call fcn.0042341c
jmp 0x423a3f
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x1f4
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404bd4
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.004049c0
lea eax, [ebp - 4]
mov ecx, 0x1f4
mov edx, 1
call fcn.00404c14
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004085e4
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 4]
call fcn.0040473c
mov eax, dword [ebp - 8]
call fcn.0042341c
cmp dword [ebp - 4], 0
jne 0x4239e5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423a61
lea eax, [ebp - 0x38]
mov edx, 0xe
call fcn.004046c8
ret