Function at 0x4034c0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x41e6d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x4c], 0
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x403935
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x4c], 1
call fcn.0041b4a0
mov ecx, dword [esp + 0x54]
lea edx, [esp + 8]
push ecx
push 0x42e3d0
push edx
mov byte [esp + 0x58], 2
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 8]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x40]
call fcn.0041b820
lea ecx, [esp + 0x38]
call fcn.0041b9a0
cmp eax, 1
jl 0x403919
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x4c], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 0xa
call sub.MFC42.DLL_CString::CString
push ecx
mov bl, 0xb
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x42e3c8
mov byte [esp + 0x54], bl
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x40]
call fcn.0041b520
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], 0xc
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], bl
call fcn.0041d310
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x42e3bc
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x34]
lea ecx, [esp + 0x3c]
push edx
call fcn.0041b520
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x50], 0xd
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], bl
call fcn.0041d310
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x42e3b0
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x34]
lea ecx, [esp + 0x3c]
push eax
call fcn.0041b520
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], 0xe
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], bl
call fcn.0041d310
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x42e3a4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x40]
call fcn.0041b520
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 0xf
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], bl
call fcn.0041d310
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x42e394
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x34]
lea ecx, [esp + 0x3c]
push edx
call fcn.0041b520
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 0x10
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], bl
call fcn.0041d310
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x42e388
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x34]
lea ecx, [esp + 0x3c]
push eax
call fcn.0041b520
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 0x11
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], bl
call fcn.0041d310
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x42e380
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x40]
call fcn.0041b520
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 0x12
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], bl
call fcn.0041d310
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x42e374
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x40]
call fcn.0041b520
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 0x13
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], bl
call fcn.0041d310
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x42e368
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x34]
lea ecx, [esp + 0x3c]
push eax
call fcn.0041b520
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 0x14
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], bl
call fcn.0041d310
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esi + 0x204]
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov edx, dword [esp + 0x24]
lea ecx, [esi + 0x60]
push edx
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov eax, dword [esp + 0x20]
lea ecx, [esi + 0x17c]
push eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esi + 0xf4]
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
push 0
push eax
mov eax, dword [esi + 0x2a8]
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esi + 0x1c0]
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0xb0]
push edx
call sub.MFC42.DLL_CWnd::SetWindowTextA
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x34]
push ecx
call dword [0x4305bc]
mov edx, dword [eax]
add esp, 8
lea eax, [esp + 0x34]
lea ecx, [esi + 0x248]
push eax
mov dword [esp + 0x38], edx
call sub.MFC42.DLL_CDateTimeCtrl::SetTime
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 0xa
call fcn.0041d310
lea ecx, [esp + 0xc]
mov byte [esp + 0x4c], 9
call fcn.0041d310
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 8
call fcn.0041d310
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 7
call fcn.0041d310
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 6
call fcn.0041d310
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 5
call fcn.0041d310
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 4
call fcn.0041d310
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], 3
call fcn.0041d310
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c], 2
call fcn.0041d310
lea ecx, [esp + 0x38]
mov byte [esp + 0x4c], 1
call fcn.0041b4c0
lea ecx, [esp + 8]
mov byte [esp + 0x4c], 0
call fcn.0041d310
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0041d310
mov ecx, dword [esp + 0x44]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret 4