Function at 0x418a80
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x114
push ebx
mov ebx, dword [esp + 0x11c]
push ebp
mov ebp, ecx
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x418c33
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push edi
push ebx
lea eax, [esp + 0x28]
push str._08X
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
push 0x584
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
lea edx, [esp + 0x25]
push 0xfe
push edx
push ebx
mov byte [esp + 0x30], 0x22
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov byte [esp + eax + 0x25], 0x22
mov byte [esp + eax + 0x26], 0
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
push 0x58c
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
lea ecx, [esp + 0x24]
push 0x100
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
lea edx, [esp + 0x24]
push edx
call fcn.004344e0
add esp, 4
test eax, eax
je 0x418b4d
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
push 0x581
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
lea ecx, [esp + 0x28]
push str._08X
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x24]
mov ecx, ebp
push edx
push 0x58a
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, eax
sub edx, ecx
push edx
mov edx, dword [esp + 0x20]
mov edi, edx
sub edi, dword [esp + 0x18]
push edi
push eax
mov eax, dword [esp + 0x20]
push edx
push ecx
push eax
lea ecx, [esp + 0x3c]
push str.__d___d____d___d___dx_d
push ecx
call esi
add esp, 0x20
lea edx, [esp + 0x24]
mov ecx, ebp
push edx
push 0x588
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
lea ecx, [esp + 0x28]
push str._08X
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x24]
mov ecx, ebp
push edx
push 0x58e
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
push str._08X
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x24]
mov ecx, ebp
push edx
push 0x586
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 4
test ebx, ebx
jne 0x418c3e
push 0x469b3c
jmp 0x418c62
push ebx
push 0x276c
mov ecx, 0x46be98
call fcn.00434400
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 0x584
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
push 0x469b3c
push 0x58c
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
push 0x469b3c
push 0x581
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
push 0x469b3c
push 0x58a
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
push 0x469b3c
push 0x588
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
push 0x469b3c
push 0x58e
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
push 0x469b3c
push 0x586
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
pop ebp
pop ebx
add esp, 0x114
ret 4