Function at 0x421f70
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4547b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push ebp
lea ecx, [esp + 0x34]
call fcn.00432826
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x8c], 0
push eax
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0
push 0
push 0
mov esi, eax
push 0
push 0
push esi
lea ecx, [ebp + 0xcc]
call sym.twinrpg.exe_public:_void___thiscall_CxImage::Draw_struct_HDC_____int__int__int__int__int__int__unsigned_int_
mov eax, dword [ebp + 0xfc]
lea edi, [ebp + 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp + 0x20]
push esi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, ebp
call sub.MFC42.DLL_CWnd::Default
mov edx, dword [ebp + 0x13c]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
push edi
lea ecx, [esp + 0x24]
call fcn.0043294c
mov ebx, 0x1e
mov byte [esp + 0x8c], 1
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [edi]
xor esi, esi
mov dword [esp + 0x14], esi
cmp dword [ecx - 8], esi
jle 0x422215
lea edx, [ebp + 0x100]
mov dword [esp + 0x1c], edx
push 0x48f23c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
cmp esi, ebx
mov byte [esp + 0x8c], 2
jl 0x4220ca
jle 0x422060
sub esi, 2
lea eax, [esp + 0x24]
push esi
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 3
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x8c], 2
call sub.MFC42.DLL_CString::CString
mov ecx, dword [edi]
lea edx, [esp + 0x28]
mov eax, dword [ecx - 8]
mov ecx, edi
sub eax, esi
push eax
push edx
call sub.MFC42.DLL_CString::Right
push eax
mov ecx, edi
mov byte [esp + 0x90], 4
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x8c], 2
call sub.MFC42.DLL_CString::CString
or esi, 0xffffffff
jmp 0x422103
mov eax, dword [edi]
cmp dword [eax - 8], ebx
jge 0x4220ec
push edi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
push 0x48f23c
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
or esi, 0xffffffff
jmp 0x422103
mov al, byte [eax + esi]
mov byte [esp + 0x2c], al
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x422103
inc esi
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
jle 0x422137
cmp dword [esp + 0x14], 4
jge 0x422123
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ecx
add eax, 4
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x8c], 1
call sub.MFC42.DLL_CString::CString
mov ecx, dword [edi]
inc esi
cmp esi, dword [ecx - 8]
jl 0x422041
mov eax, dword [esp + 0x14]
cmp eax, 4
jle 0x422176
cmp ebx, 0x1e
jne 0x422173
mov dword [esp + 0x18], 0x26
mov ebx, dword [esp + 0x18]
jmp 0x42201a
cmp eax, 4
jge 0x422215
test eax, eax
jle 0x422215
cmp eax, 1
jne 0x4221a9
lea esi, [ebp + 0x100]
lea ecx, [ebp + 0x104]
push esi
call sub.MFC42.DLL_CString::operator_2
push 0x48f23c
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
jmp 0x422215
cmp eax, 2
jne 0x4221d7
lea esi, [ebp + 0x104]
lea ecx, [ebp + 0x108]
push esi
call sub.MFC42.DLL_CString::operator_2
lea ebx, [ebp + 0x100]
mov ecx, esi
push ebx
call sub.MFC42.DLL_CString::operator_2
push 0x48f23c
mov ecx, ebx
jmp 0x42220c
lea esi, [ebp + 0x108]
lea ecx, [ebp + 0x10c]
push esi
call sub.MFC42.DLL_CString::operator_2
lea ebx, [ebp + 0x104]
mov ecx, esi
push ebx
call sub.MFC42.DLL_CString::operator_2
lea esi, [ebp + 0x100]
mov ecx, ebx
push esi
call sub.MFC42.DLL_CString::operator_2
push 0x48f23c
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
mov ebx, dword [esp + 0x18]
cmp ebx, 0x26
je 0x42228c
push 0x467fe8
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x8c], 5
lea esi, [ebp + 0x100]
mov ebx, 4
mov edx, dword [esi]
mov eax, dword [edx - 8]
test eax, eax
jle 0x422275
lea eax, [esp + 0x1c]
push esi
lea ecx, [esp + 0x30]
push eax
push ecx
call sub.MFC42.DLL_operator_3
push eax
mov ecx, esi
mov byte [esp + 0x90], 6
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x8c], 5
call sub.MFC42.DLL_CString::CString
add esi, 4
dec ebx
jne 0x42223b
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 1
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x20]
mov ecx, edi
push edx
call sub.MFC42.DLL_CString::operator_2
push 0x3f7
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItem
test eax, eax
je 0x4222c2
mov eax, dword [ebp + 0x100]
mov ecx, ebp
push eax
push 0x3f7
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
push 0x3f8
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItem
test eax, eax
je 0x4222ec
mov eax, dword [ebp + 0x104]
mov ecx, ebp
push eax
push 0x3f8
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
push 0x3fd
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItem
test eax, eax
je 0x422316
mov eax, dword [ebp + 0x108]
mov ecx, ebp
push eax
push 0x3fd
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
push 0x3fe
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItem
test eax, eax
je 0x422340
mov eax, dword [ebp + 0x10c]
mov ecx, ebp
push eax
push 0x3fe
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov eax, dword [0x48f138]
mov ecx, dword [eax + 0x3228]
test ecx, ecx
je 0x422360
mov ecx, dword [ebp + 0x1b0]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp + 0x110]
test eax, eax
je 0x422384
push 0x3fc
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [eax + 0x20]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x8c], 0xffffffff
call sub.MFC42.DLL_CPaintDC::CPaintDC
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x80
ret