Function at 0x42823c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 8
push 0
push 0
dec ecx
jne 0x428245
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004057f4
xor eax, eax
push ebp
push 0x428712
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x4a0c58], 0
jne 0x42827b
call fcn.00428880
cmp byte [0x4a0c54], 0
je 0x4286ea
mov eax, dword [0x4a81d4]
cmp dword [eax], 2
je 0x4282a5
mov eax, dword [ebp - 4]
call fcn.00405804
push eax
call sub.kernel32.dll_OutputDebugStringA
jmp 0x4286ea
lea eax, [ebp - 8]
call fcn.00405374
call sub.kernel32.dll_GetCurrentThreadId_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x10]
call fcn.00409828
lea eax, [ebp - 0x14]
call fcn.00405374
cmp dword [0x4a0c74], 0
je 0x4282df
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [0x4a0c74]
call fcn.00418eb4
cmp byte [0x4adb81], 0
jne 0x4283de
push 0x4adb8c
call sub.kernel32.dll_QueryPerformanceCounter
cmp dword [0x4adb88], 0
jne 0x428312
cmp dword [0x4adb84], 0
jne 0x428312
push 0x4adb84
call sub.kernel32.dll_QueryPerformanceFrequency
cmp dword [0x4adb88], 0
jne 0x428322
cmp dword [0x4adb84], 0
je 0x428377
push dword [0x4adb88]
push dword [0x4adb84]
push 0
push 0x3e8
mov eax, dword [0x4adb8c]
mov edx, dword [0x4adb90]
call fcn.0040659c
call fcn.004065c0
mov ebx, eax
push 0x42872c
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.00409828
push dword [ebp - 0x24]
push 0x428738
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405708
push dword [ebp - 8]
push 0x428744
lea edx, [ebp - 0x28]
mov eax, esi
call fcn.0040973c
push dword [ebp - 0x28]
push 0x428738
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405708
push dword [ebp - 8]
push 0x428750
push dword [ebp - 0x10]
push 0x428738
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405708
cmp dword [ebp - 0x14], 0
je 0x4283de
push dword [ebp - 8]
push 0x42875c
push dword [ebp - 0x14]
push 0x428738
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405708
cmp byte [0x4adb81], 1
jne 0x428463
push 0x42876c
push dword [0x4a0c7c]
push 0x428778
push dword [0x4a0c78]
push 0x428784
lea eax, [ebp - 8]
mov edx, 5
call fcn.00405708
cmp dword [ebp - 0x14], 0
je 0x428434
push dword [ebp - 8]
push 0x42876c
push dword [ebp - 0x14]
push 0x428784
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405708
jmp 0x428451
push dword [ebp - 8]
push 0x42876c
push dword [ebp - 0x10]
push 0x428784
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405708
cmp esi, 2
jne 0x428463
lea eax, [ebp - 8]
mov edx, 0x428790
call fcn.00405640
cmp byte [0x4adb81], 2
jne 0x4284a4
cmp dword [ebp - 0x14], 0
je 0x42848c
push dword [ebp - 8]
push dword [ebp - 0x14]
push 0x4287a4
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405708
jmp 0x4284a4
push dword [ebp - 8]
push dword [ebp - 0x10]
push 0x4287a4
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405708
cmp byte [0x4a0c5c], 0
je 0x428674
xor eax, eax
push ebp
push 0x428663
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
cmp eax, dword [0x4a0c64]
jge 0x428659
cmp dword [0x4a0c70], 0
jne 0x4284ea
xor ecx, ecx
mov dl, 1
mov eax, dword [0x427e60]
call fcn.00427f4c
mov dword [0x4a0c70], eax
mov edx, 0x2710
mov eax, dword [0x4a0c70]
call fcn.0042805c
test al, al
je 0x428652
xor eax, eax
push ebp
push 0x42864b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x4a0c6c], 0
jne 0x4285ce
cmp dword [0x4a0c60], 0
jne 0x428541
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.00403328
mov edx, dword [ebp - 0x2c]
mov eax, 0x4a0c60
mov ecx, 0x4287b0
call fcn.0040568c
mov dl, 1
mov eax, dword [0x428e44]
call fcn.004292d4
mov dword [0x4a0c68], eax
mov eax, dword [0x4a0c68]
mov byte [eax + 0xd], 1
mov eax, dword [0x4a0c68]
mov byte [eax + 0xe], 1
mov eax, dword [0x4a0c68]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [0x4a0c68]
mov byte [eax + 0xf], 1
mov edx, dword [0x4a0c60]
mov eax, dword [0x4a0c68]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
call fcn.0040b748
fstp qword [ebp - 0x20]
wait
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
xor edx, edx
call fcn.0040c348
push 0x4287c0
push dword [ebp - 0x18]
push 0x4287f0
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00405708
mov edx, dword [ebp - 0x30]
mov eax, dword [0x4a0c68]
mov ecx, dword [eax]
call dword [ecx + 4]
mov byte [0x4a0c6c], 1
cmp byte [0x4a0c6c], 0
je 0x428633
call sub.kernel32.dll_GetTickCount
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x38]
call fcn.00409828
push dword [ebp - 0x38]
push 0x428808
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x3c]
call fcn.00409828
push dword [ebp - 0x3c]
push 0x428738
push dword [ebp - 8]
push dword [ebp - 4]
lea eax, [ebp - 0x34]
mov edx, 6
call fcn.00405708
mov edx, dword [ebp - 0x34]
mov eax, dword [0x4a0c68]
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [0x4a0c68]
mov edx, dword [eax]
call dword [edx + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428659
mov eax, dword [0x4a0c70]
call fcn.0042809c
ret
mov byte [0x4a0c5c], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x428674
mov edx, dword [ebp - 4]
mov eax, 0x428818
call fcn.00405950
mov ebx, eax
test ebx, ebx
jle 0x4286d4
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040586c
lea ecx, [ebx + 1]
lea eax, [ebp - 4]
mov edx, 1
call fcn.004058ac
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040568c
mov eax, dword [ebp - 0x40]
call fcn.00428154
mov edx, dword [ebp - 4]
mov eax, 0x428818
call fcn.00405950
mov ebx, eax
test ebx, ebx
jg 0x428687
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040568c
mov eax, dword [ebp - 0x44]
call fcn.00428154
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428719
lea eax, [ebp - 0x44]
mov edx, 9
call fcn.00405398
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00405398
ret