Function at 0x4f34bc
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor edx, edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4f395f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x37c]
mov edx, dword [ebp - 8]
imul dword [edx + 0x380]
mov edx, eax
add edx, edx
add edx, edx
add edx, edx
lea edx, [edx + edx*2]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x374]
xor ecx, ecx
call fcn.00404e90
push 0
call sub.user32.dll_GetDC
mov edx, dword [ebp - 8]
mov dword [edx + 0x1c0], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x1ac], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x1c0], 0
jne 0x4f356a
call sub.kernel32.dll_GetLastError_2
lea edx, [ebp - 0x10]
call fcn.0040e730
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 0x4f3978
call fcn.004067f4
mov eax, dword [ebp - 4]
call fcn.0040696c
push eax
call sub.kernel32.dll_OutputDebugStringA
jmp 0x4f3931
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1cc]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c8]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
add eax, 0x1b0
push eax
call sub.user32.dll_SetRect
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x308]
xor edx, edx
call fcn.0047d8f0
mov eax, dword [ebp - 8]
lea edx, [eax + 0x1b0]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x308]
mov ecx, 0x10
call fcn.004207bc
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x190], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x194]
call fcn.004324e0
call fcn.0042d930
xor eax, eax
push ebp
push 0x4f387d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40cc0020
push 0
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c0]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1a8]
push eax
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 + 0x194]
call fcn.004324e0
call fcn.0042dd20
push eax
call sub.gdi32.dll_BitBlt
test eax, eax
jne 0x4f363a
call fcn.00405ed0
jmp 0x4f3931
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1a4]
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x1c8]
jne 0x4f36a2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1a8]
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x1cc]
jne 0x4f36a2
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x194]
mov eax, dword [ebp - 8]
call fcn.004f32c0
mov ebx, eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x190], ebx
test ebx, ebx
jg 0x4f385c
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x308]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x194]
mov ecx, dword [eax]
call dword [ecx + 0x58]
jmp 0x4f385c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1a0]
call fcn.004324e0
call fcn.0042d930
xor eax, eax
push ebp
push 0x4f3855
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1cc]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x1c8]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1a0]
mov ebx, dword [eax]
call dword [ebx + 0x64]
push 0x40cc0020
push 0
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c0]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1a8]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1a4]
push eax
push 0
push 0
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x1d8]
mov edx, dword [edx + 0x50]
test edx, edx
je 0x4f3724
sub edx, 0xfffffff4
mov ecx, 0x4f3984
call fcn.004081a0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1a8]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1a4]
xor edx, edx
xor eax, eax
call fcn.0041bfe0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1cc]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c8]
xor edx, edx
xor eax, eax
call fcn.0041bfe0
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x1dc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1d8]
call fcn.004eaea0
push 0x40cc0020
push 0
push 0
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x1dc]
mov edx, dword [edx + 0x50]
test edx, edx
je 0x4f37b9
sub edx, 0xfffffff4
mov ecx, 0x4f3984
call fcn.004081a0
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1cc]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c8]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1a0]
call fcn.004324e0
call fcn.0042dd20
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x1a0]
mov eax, dword [ebp - 8]
call fcn.004f32c0
mov ebx, eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x190], ebx
test ebx, ebx
jg 0x4f3834
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x308]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1a0]
mov ecx, dword [eax]
call dword [ecx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f385c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1a0]
call fcn.004324e0
call fcn.0042dbec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f3884
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x194]
call fcn.004324e0
call fcn.0042dbec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f3966
lea eax, [ebp - 0x38]
call fcn.0040815c
lea eax, [ebp - 0x14]
call fcn.0040815c
lea eax, [ebp - 0x10]
call fcn.004064cc
lea eax, [ebp - 4]
call fcn.004064cc
ret