Function at 0x4f3994
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4f3f85
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
add eax, 0x1e0
xor ecx, ecx
mov edx, 0x90
call fcn.00404e90
mov eax, dword [ebp - 8]
cmp dword [eax + 0x1c0], 0
jne 0x4f3a23
push 0
call sub.user32.dll_GetDC
mov ebx, eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x1c0], ebx
test ebx, ebx
jne 0x4f3a23
call sub.kernel32.dll_GetLastError_2
lea edx, [ebp - 0x5c]
call fcn.0040e730
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 4]
mov edx, 0x4f3fa0
call fcn.004067f4
mov eax, dword [ebp - 4]
call fcn.0040696c
push eax
call sub.kernel32.dll_OutputDebugStringA
jmp 0x4f3f5f
cmp byte [0x50f118], 0
je 0x4f3a94
push 2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1a8]
push eax
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1a4]
xor edx, edx
xor eax, eax
call fcn.0041bfe0
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c0]
push eax
call sub.user32.dll_FillRect
lea eax, [ebp - 0x58]
push eax
call sub.kernel32.dll_GetLocalTime_1
cmp word [ebp - 0x50], 0xd
jb 0x4f3a94
mov byte [0x50f118], 0
movzx eax, byte [0x50f118]
push eax
mov ecx, 0x4f3fb8
mov edx, 0x4f3fc8
mov eax, 0x80000002
call fcn.004fdc5c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x308]
xor edx, edx
call fcn.0047d8f0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1ac]
mov dword [ebp - 0x24], eax
jmp 0x4f3e4f
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x19c]
call fcn.004324e0
call fcn.0042d930
xor eax, eax
push ebp
push 0x4f3b5f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40cc0020
mov eax, dword [ebp - 0x24]
push eax
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c0]
push eax
push 1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1a4]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x19c]
call fcn.004324e0
call fcn.0042dd20
push eax
call sub.gdi32.dll_BitBlt
test eax, eax
jne 0x4f3b3e
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c0]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x1c0], edx
call fcn.00405ed0
jmp 0x4f3f5f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f3b66
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x19c]
call fcn.004324e0
call fcn.0042dbec
ret
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1a8]
cmp eax, dword [ebp - 0x24]
jg 0x4f3ab5
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1ac]
add eax, 3
mov ecx, 0x13
cdq
idiv ecx
mov eax, dword [ebp - 8]
mov dword [eax + 0x1ac], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x190], edx
mov eax, dword [ebp - 8]
call fcn.004f478c
test al, al
je 0x4f3f5b
mov eax, dword [ebp - 8]
cmp dword [eax + 0x190], 0
jle 0x4f3f2a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30c]
xor edx, edx
call fcn.0047d8f0
mov eax, dword [ebp - 8]
lea edx, [eax + 0x168]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30c]
mov ecx, 0x25
call fcn.004207bc
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x188]
mov ecx, eax
shl ecx, 4
mov eax, dword [ebp - 8]
lea edx, [eax + 0x270]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30c]
call fcn.004207bc
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x190]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x160]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30c]
call fcn.004207bc
mov dl, 7
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4f3f5b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x308]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4f3f43
cmp eax, 0
jbe 0x4f3f5b
jmp 0x4f3f45
jle 0x4f3f5b
mov eax, dword [ebp - 8]
call fcn.004f5074
test al, al
je 0x4f3f5b
mov dl, 2
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f3f8c
lea eax, [ebp - 0x70]
call fcn.004064cc
lea eax, [ebp - 0x5c]
call fcn.004064cc
lea eax, [ebp - 4]
call fcn.004064cc
ret