Function at 0x4f4d30
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x778400]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x110
ja 0x4f4da2
cmp dword [ebp - 0x14], 0x110
je 0x4f4dd2
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0x13
ja case.0x4f4d9b.1
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x4f4f74]
jmp dword [ecx*4 + 0x4f4f60]
cmp dword [ebp - 0x14], 0x111
je 0x4f4e04
cmp dword [ebp - 0x14], 0x201
je 0x4f4eb3
cmp dword [ebp - 0x14], 0x202
je 0x4f4f31
jmp case.0x4f4d9b.1
mov eax, dword [ebp - 0x18]
jmp 0x4f4f50
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x4f4f50
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1c]
call eax
mov eax, 1
jmp 0x4f4f50
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 1
je 0x4f4e21
cmp dword [ebp - 0x1c], 2
je 0x4f4e5c
jmp 0x4f4e7d
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
and ecx, 2
je 0x4f4e42
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, 1
jmp 0x4f4f50
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 0x10]
call edx
jmp 0x4f4f50
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
and ecx, 1
je 0x4f4e7d
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, 1
jmp 0x4f4f50
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 0x10]
call edx
jmp 0x4f4f50
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x18]
call eax
jmp case.0x4f4d9b.1
cmp dword [ebp - 0x18], 0
je 0x4f4ed3
push str.WM_LBUTTONDOWN__SetCapture_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetCapture]
jmp 0x4f4f2f
mov eax, dword [ebp + 0x14]
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x14]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [ebp - 0xc]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 8]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
push 2
push 0xa1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4f4d9b.1
push str.WM_LBUTTONDOWN__ReleaseCapture_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp case.0x4f4d9b.1
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0066c98d
mov esp, ebp
pop ebp
ret 0x10