Function at 0x50f3b0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ebx, dword [esi + 0xb30]
test ebx, ebx
je 0x50fbbd
mov eax, dword [esi + 0xb00]
test eax, eax
jne 0x50fbbd
mov ecx, dword [esi + 0x38]
mov eax, 1
cmp ecx, 2
je 0x50f9d6
cmp dword [esi + 0xb74], eax
je 0x50f9d6
mov ecx, dword [esi + 0xb78]
mov ebp, dword [sym.imp.USER32.dll_SetRect]
cmp ecx, eax
jne 0x50f4ec
test ebx, ebx
je 0x50f4ec
mov edi, dword [ebx]
test edi, edi
je 0x50f4dc
cmp dword [edi + 8], 3
jne 0x50f4dc
cmp dword [edi + 0x34], 0x64
jne 0x50f43d
mov ecx, dword [esi + 0xb74]
xor eax, eax
cmp ecx, 1
setle al
dec eax
and eax, 0x63
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
lea edx, [edx + eax - 1]
push edx
mov edx, dword [edi + 0x14]
lea edx, [edx + ecx - 1]
push edx
push eax
lea eax, [esp + 0x24]
push ecx
push eax
call ebp
mov eax, dword [edi + 0x34]
test eax, eax
jle 0x50f492
mov ecx, dword [esi + 0xb84]
mov edx, dword [esi + 0xb7c]
push eax
mov eax, dword [esi + 0xb80]
push ecx
push edx
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esi + 0x20]
push edx
push eax
call fcn.00468000
jmp 0x50f4dc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push 0
push ecx
mov ecx, dword [esi + 0x20]
push edx
push eax
push ecx
mov ecx, dword [esi + 0xb7c]
call fcn.00466530
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x18]
push 0
push edx
mov edx, dword [esi + 0xb80]
push eax
push ecx
mov ecx, dword [esi + 0xb7c]
push edx
call fcn.00466530
mov dword [edi + 8], 4
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x50f40e
mov eax, 1
mov ebx, dword [esi + 0xb30]
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x50f614
mov edi, dword [ebx]
test edi, edi
je 0x50f609
cmp dword [edi + 8], eax
jne 0x50f609
cmp dword [edi + 4], eax
jne 0x50f609
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x50f609
cmp dword [esi + 0xb78], 2
jne 0x50f550
mov eax, dword [esi + 0xb7c]
mov ecx, dword [esi + 0xb80]
push 1
push 0
push 0
push 0
push eax
call fcn.00466530
mov eax, dword [esi + 0xb2c]
test eax, eax
je 0x50f5ed
mov cl, byte [eax + 0x14]
test cl, cl
je 0x50f5ed
mov ecx, dword [esi + 0xb80]
push 1
push str.scr_multim::pe
call fcn.00465a50
test eax, eax
je 0x50f5ed
cmp dword [esi + 0xb78], 2
jne 0x50f5a6
mov ecx, dword [esi + 0x208]
test ecx, ecx
je 0x50f5a6
mov edx, dword [esi + 0xb80]
push 0
push 0
push 0
push 0
push edx
call fcn.0052cb90
mov edx, dword [edi + 0x24]
lea eax, [edi + 0x18]
lea ecx, [edi + 0x14]
push eax
push ecx
mov ecx, dword [esi + 0xb2c]
push edx
call fcn.0052c6e0
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
push 0
push eax
mov eax, dword [esi + 0xb80]
push ecx
mov ecx, dword [esi + 0xb2c]
push edx
push eax
call fcn.0052cb90
mov ecx, dword [esi + 0xb80]
push str.scr_multim::pe
call fcn.00465ad0
mov ebp, dword [esi + 0xb74]
mov eax, 1
xor ecx, ecx
cmp ebp, eax
setle cl
dec ecx
and ecx, 0xffffff9d
add ecx, 0x64
mov dword [edi + 0x34], ecx
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x50f502
mov ebx, dword [esi + 0xb30]
test ebx, ebx
mov dword [esp + 0x10], ebx
je 0x50f77e
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [ebx]
test edi, edi
je 0x50f76f
mov ecx, dword [edi + 8]
mov eax, 1
cmp ecx, eax
jne 0x50f76f
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x50f76f
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x34]
test eax, eax
jne 0x50f76f
mov eax, dword [edi + 0x28]
test eax, eax
je 0x50f757
mov ecx, dword [esi + 0xb80]
push str.scr_multim::pe
call fcn.00465b10
test eax, eax
je 0x50f757
mov edx, dword [esi + 0xb80]
push 1
mov eax, dword [edx + 0x38]
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [esi + 0xb80]
mov ecx, dword [edi + 0x2c]
push ecx
mov eax, dword [edx + 0x38]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [edi + 0x24]
cmp eax, 4
ja case.0x50f6b1.0
jmp dword [eax*4 + 0x50fbc8]
mov eax, 0x10
jmp 0x50f6d9
mov eax, 0x14
jmp 0x50f6d9
mov eax, 0x15
jmp 0x50f6d9
mov eax, 0x17
jmp 0x50f6d9
mov eax, 0xf
mov ecx, dword [0x6833d0]
push eax
call fcn.004207d0
mov ecx, dword [esi + 0xb80]
mov eax, dword [eax]
push eax
mov edx, dword [ecx + 0x38]
push edx
call ebp
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
mov ebx, eax
mov eax, dword [edi + 0x10]
lea edx, [edx + eax - 1]
push edx
mov edx, dword [edi + 0x14]
lea edx, [edx + ecx - 1]
push edx
push eax
lea eax, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0xb80]
mov edx, dword [edi + 0x28]
lea ecx, [esp + 0x18]
push 0x10
push ecx
mov ecx, dword [eax + 0x38]
push 0xffffffffffffffff
push edx
push ecx
call dword [sym.imp.USER32.dll_DrawTextA]
mov edx, dword [esi + 0xb80]
push ebx
mov eax, dword [edx + 0x38]
push eax
call ebp
mov ecx, dword [esi + 0xb80]
push str.scr_multim::pe
call fcn.00465b60
mov ebx, dword [esp + 0x10]
mov edx, dword [esi + 0xb74]
xor ecx, ecx
cmp edx, 1
setle cl
dec ecx
and ecx, 0xffffff9d
add ecx, 0x64
mov dword [edi + 0x34], ecx
mov ebx, dword [ebx + 4]
test ebx, ebx
mov dword [esp + 0x10], ebx
jne 0x50f62c
cmp dword [esi + 0xb78], 1
jne 0x50f856
mov eax, dword [esp + 0x14]
test eax, eax
je 0x50fbbd
mov ebp, dword [esi + 0xb30]
test ebp, ebp
je 0x50fbbd
mov ebx, dword [sym.imp.USER32.dll_SetRect]
mov edi, dword [ebp]
test edi, edi
je 0x50f843
cmp dword [edi + 8], 1
jne 0x50f843
cmp dword [edi + 0x34], 1
jle 0x50f843
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
lea edx, [edx + eax - 1]
push edx
mov edx, dword [edi + 0x14]
lea edx, [edx + ecx - 1]
push edx
push eax
lea eax, [esp + 0x24]
push ecx
push eax
call ebx
mov eax, dword [edi + 0x34]
cmp eax, 0x64
jge 0x50f81c
mov ecx, dword [esi + 0xb84]
mov edx, dword [esi + 0xb7c]
push eax
mov eax, dword [esi + 0xb80]
push ecx
push edx
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esi + 0x20]
push edx
push eax
call fcn.00468000
jmp 0x50f843
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push 1
push ecx
mov ecx, dword [esi + 0x20]
push edx
push eax
push ecx
mov ecx, dword [esi + 0xb80]
call fcn.00466530
mov dword [edi + 8], 2
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x50f7ab
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x14]
or edi, 0xffffffff
test eax, eax
je 0x50fbbd
mov eax, dword [esi + 0xb30]
test eax, eax
mov dword [esp + 0x10], eax
je 0x50fbbd
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
test eax, eax
je 0x50f90a
cmp dword [eax + 8], 1
jne 0x50f90a
cmp dword [eax + 0x34], 1
jle 0x50f90a
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0x10]
lea ebx, [edx + ecx - 1]
mov edx, dword [eax + 0x18]
lea ebp, [edx + edi - 1]
mov edx, dword [esi + 0xb64]
cmp edx, 0xffffffff
je 0x50f8b4
cmp ecx, edx
jge 0x50f8ba
mov dword [esi + 0xb64], ecx
mov ecx, dword [esi + 0xb68]
cmp ecx, 0xffffffff
je 0x50f8c9
cmp edi, ecx
jge 0x50f8cf
mov dword [esi + 0xb68], edi
mov ecx, dword [esi + 0xb6c]
cmp ecx, 0xffffffff
je 0x50f8de
cmp ebx, ecx
jle 0x50f8e4
mov dword [esi + 0xb6c], ebx
mov ecx, dword [esi + 0xb70]
cmp ecx, 0xffffffff
je 0x50f8f3
cmp ebp, ecx
jle 0x50f8f9
mov dword [esi + 0xb70], ebp
mov ecx, dword [eax + 0x34]
cmp ecx, 0x64
jl 0x50f908
mov dword [eax + 8], 2
mov edi, ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x50f877
cmp edi, 0x64
jl 0x50f971
mov ecx, dword [esi + 0xb70]
mov edx, dword [esi + 0xb6c]
mov eax, dword [esi + 0xb68]
push ecx
mov ecx, dword [esi + 0xb64]
push edx
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x18]
push 1
push eax
mov eax, dword [esi + 0x20]
push ecx
mov ecx, dword [esi + 0xb80]
push edx
push eax
call fcn.00466530
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
cmp edi, 0xffffffff
je 0x50fbbd
mov ecx, dword [esi + 0xb70]
mov edx, dword [esi + 0xb6c]
mov eax, dword [esi + 0xb68]
push ecx
mov ecx, dword [esi + 0xb64]
push edx
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0xb84]
mov ecx, dword [esi + 0xb7c]
mov edx, dword [esi + 0xb80]
push edi
push eax
push ecx
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x24]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
mov ecx, dword [esi + 0x20]
push edx
call fcn.00468000
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push str.RedrawFull_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ebx, dword [esi + 0xb30]
test ebx, ebx
je 0x50fa74
mov ebp, 1
mov edi, dword [ebx]
test edi, edi
je 0x50fa6d
cmp dword [edi + 4], ebp
jne 0x50fa6d
mov eax, dword [edi + 8]
cmp eax, 2
je 0x50fa19
cmp eax, ebp
je 0x50fa19
cmp eax, 3
jne 0x50fa6d
mov dword [edi + 8], 4
jmp 0x50fa6d
mov eax, dword [esi + 0xb2c]
test eax, eax
je 0x50fa66
mov cl, byte [eax + 0x14]
test cl, cl
je 0x50fa66
mov ecx, dword [esi + 0x20]
push ebp
push str.scr_multim::pe
call fcn.00465a50
test eax, eax
je 0x50fa66
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
push 0
push eax
mov eax, dword [esi + 0x20]
push ecx
mov ecx, dword [esi + 0xb2c]
push edx
push eax
call fcn.0052cb90
mov ecx, dword [esi + 0x20]
push str.scr_multim::pe
call fcn.00465ad0
mov dword [edi + 8], 2
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x50f9f4
mov eax, dword [esi + 0xb30]
test eax, eax
mov dword [esp + 0x10], eax
je 0x50fbbd
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
mov edi, dword [ebx]
test edi, edi
je 0x50fbae
mov eax, dword [edi + 4]
test eax, eax
jne 0x50fbae
mov eax, dword [edi + 8]
cmp eax, 2
je 0x50fac5
cmp eax, 1
je 0x50fac5
cmp eax, 3
jne 0x50fbae
mov dword [edi + 8], 4
jmp 0x50fbae
mov eax, dword [edi + 0x28]
test eax, eax
je 0x50fba7
mov ecx, dword [esi + 0x20]
push str.scr_multim::pe
call fcn.00465b10
test eax, eax
je 0x50fba7
mov ecx, dword [esi + 0x20]
push 1
mov edx, dword [ecx + 0x38]
push edx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [esi + 0x20]
mov eax, dword [edi + 0x2c]
push eax
mov edx, dword [ecx + 0x38]
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [edi + 0x24]
cmp eax, 4
ja case.0x50fb0d.0
jmp dword [eax*4 + 0x50fbdc]
mov eax, 0x10
jmp 0x50fb35
mov eax, 0x14
jmp 0x50fb35
mov eax, 0x15
jmp 0x50fb35
mov eax, 0x17
jmp 0x50fb35
mov eax, 0xf
mov ecx, dword [0x6833d0]
push eax
call fcn.004207d0
mov eax, dword [eax]
push eax
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0x38]
push ecx
call ebp
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
mov ebx, eax
mov eax, dword [edi + 0x10]
lea edx, [edx + eax - 1]
push edx
mov edx, dword [edi + 0x14]
lea edx, [edx + ecx - 1]
push edx
push eax
lea eax, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0x20]
mov edx, dword [edi + 0x28]
lea ecx, [esp + 0x18]
push 0x10
push ecx
mov ecx, dword [eax + 0x38]
push 0xffffffffffffffff
push edx
push ecx
call dword [sym.imp.USER32.dll_DrawTextA]
mov edx, dword [esi + 0x20]
push ebx
mov eax, dword [edx + 0x38]
push eax
call ebp
mov ecx, dword [esi + 0x20]
push str.scr_multim::pe
call fcn.00465b60
mov ebx, dword [esp + 0x10]
mov dword [edi + 8], 2
mov ebx, dword [ebx + 4]
test ebx, ebx
mov dword [esp + 0x10], ebx
jne 0x50fa8e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret