Function at 0x457730
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49592c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d4
push ebx
push esi
push edi
mov dword [0x4b058b], 1
call sub.WINDCS32.dll_Ordinal_52_2
push eax
push 0
push 4
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._sDLL._d_recipe_.dll
push 0x4b048c
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 1
push 0x4b048c
lea ecx, [ebp - 0x1a0]
call fcn.00485b00
mov dword [ebp - 4], 0
xor eax, eax
cmp dword [0x4b0594], 0
setl al
dec eax
and eax, dword [0x4b0594]
mov dword [0x4b0594], eax
push 0x80
lea ecx, [ebp - 0x8c]
push ecx
push 0x47a
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x8c]
push eax
push 0
push 0x18f
push 0x3e8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x45780d
lea edx, [ebp - 0x8c]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
jne 0x457869
lea ecx, [ebp - 0x1a0]
call fcn.00485c10
push 0x80
push 0x4b048c
push 0x27a8
lea ecx, [ebp - 0x1a0]
call fcn.00485ce0
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
push 0
push 0x4b048c
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [ebp - 0x1a0]
call fcn.00485ca0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a0]
call fcn.00485bb0
jmp 0x457a58
cmp dword [0x4b0594], 0xff
jl 0x4578d1
lea ecx, [ebp - 0x1a0]
call fcn.00485c10
push 0x80
push 0x4b048c
push 0x27a9
lea ecx, [ebp - 0x1a0]
call fcn.00485ce0
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
push 0
push 0x4b048c
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [ebp - 0x1a0]
call fcn.00485ca0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a0]
call fcn.00485bb0
jmp 0x457a58
push 0x10
lea eax, [ebp - 0x8c]
push eax
push 0x4b0523
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov ecx, dword [0x4b0594]
add ecx, 1
mov dword [0x4b0594], ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00457a70
add esp, 4
mov word [0x4b051d], ax
movsx eax, word [0x4b051d]
mov dword [0x4b0543], eax
cmp dword [0x4b0594], 0
jle 0x457939
movsx ecx, word [0x4b051d]
mov edx, dword [0x4b0594]
sub edx, 1
imul edx, edx, 0x54
mov dword [edx + 0x4ab100], ecx
jmp 0x45794f
movsx eax, word [0x4b051d]
mov ecx, dword [0x4b0594]
imul ecx, ecx, 0x54
mov dword [ecx + 0x4ab100], eax
mov edx, dword [ebp + 8]
push edx
call fcn.00457b40
add esp, 4
push 0x4b0523
push 0
push 0x180
push 0x3e8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x90], eax
movsx ecx, word [0x4b051d]
push ecx
mov edx, dword [ebp - 0x90]
push edx
push 0x19a
push 0x3e8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, dword [ebp - 0x90]
push ecx
push 0x186
push 0x3e8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov eax, dword [ebp - 0x90]
push eax
push 0x199
push 0x3e8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov word [0x4b051d], ax
push 0x4b0523
movsx edx, word [0x4b051d]
push edx
call fcn.00457eb0
add esp, 8
mov eax, dword [0x4b051f]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00457f80
add esp, 8
mov edx, dword [ebp + 8]
push edx
call fcn.004582c0
add esp, 4
push 1
push 0x405
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a0]
call fcn.00485bb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret