Function at 0x4c6820
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x10c
mov eax, dword [0x5bd254]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi]
push 0x2275
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
mov ebp, eax
push 0xe
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
lea edi, [ebx + 3]
call fcn.004c6120
test eax, eax
je 0x4c68de
mov ecx, dword [esi + 4]
add ebx, 1
push ebx
push ecx
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [esi]
push pe_nt_image_headers32
lea edx, [esp + 0x1c]
push edx
push 0x2272
push eax
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea ecx, [esp + 0x18]
push ecx
call sym.convertifd.exe_UtStripBlanks
lea eax, [esp + 0x1c]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4c68a8
sub eax, edx
jne 0x4c692c
cmp dword [esi + 0x18], eax
jge 0x4c68d1
mov eax, dword [esi + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4c68c0
sub eax, edx
je 0x4c6af2
push 0xfffffb38
call sym.convertifd.exe_IpMessage
add esp, 4
mov ecx, dword [esi]
push 0x2272
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esi]
push 0xffff
push 0
push 0x142
push 0x2272
push edx
mov edi, eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00511a80
add esp, 0x10c
ret
cmp dword [esi + 0xc], 0
je 0x4c6af2
cmp byte [esp + 0x18], 0
lea edi, [esp + 0x18]
je 0x4c6963
mov al, byte [edi]
cmp al, 0x80
jae 0x4c698c
cmp al, 0x5f
je 0x4c695b
movsx edx, al
push edx
call fcn.00517037
add esp, 4
test eax, eax
je 0x4c698c
add edi, 1
cmp byte [edi], 0
jne 0x4c6941
lea eax, [esp + 0x18]
push 0xffffffffffffffff
push eax
mov ecx, eax
push ecx
call sym.convertifd.exe_AnsiToRoman8Buff
add esp, 0xc
lea edi, [esp + 0x18]
call fcn.004c62f0
test eax, eax
je 0x4c6996
push 0xfffffb3a
jmp 0x4c68d6
push 0xfffffb3b
jmp 0x4c68d6
mov edx, dword [esi + 0xc]
push 0
push edx
call sym.convertifd.exe_UtGtGetAddr
xor ebp, ebp
add esp, 8
cmp dword [esi + 0x14], ebp
mov edi, eax
jle 0x4c69e7
lea ecx, [ecx]
cmp ebp, dword [esi + 0x18]
je 0x4c69cb
lea eax, [esp + 0x18]
push edi
push eax
call fcn.0051e073
add esp, 8
test eax, eax
je 0x4c6afc
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4c69d0
sub eax, edx
add ebp, 1
cmp ebp, dword [esi + 0x14]
lea edi, [edi + eax + 1]
jl 0x4c69b0
cmp dword [esi + 0x18], 0
jl 0x4c69fc
mov edi, esi
call fcn.004c6760
test eax, eax
je 0x4c68de
lea ecx, [esp + 0x18]
push 0x58169c
push ecx
call fcn.0051e073
add esp, 8
test eax, eax
jne 0x4c6abd
push 4
lea edx, [esp + 0x14]
push edx
push 0x580dd0
push str.CleanupJfPreamble
push 0x580950
call sym.convertifd.exe_GetJetFormIniStr
movsx eax, byte [esp + 0x10]
push eax
call fcn.00511e5d
add esp, 4
cmp eax, 0x4e
je 0x4c6abd
mov ecx, dword [esi + 4]
cmp byte [ecx], 0
je 0x4c6a97
lea esp, [esp]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4c6a55
sub eax, edi
movsx ecx, byte [ecx + eax - 1]
push ecx
call fcn.00516f42
add esp, 4
test eax, eax
je 0x4c6a97
mov edx, dword [esi + 4]
mov eax, edx
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4c6a80
sub eax, edi
mov byte [edx + eax - 1], cl
mov ecx, dword [esi + 4]
cmp byte [ecx], 0
jne 0x4c6a50
mov eax, dword [esi + 4]
add eax, 0xffffffff
lea ecx, [ecx]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4c6aa0
mov dx, word [0x58251c]
mov word [eax], dx
mov cl, byte [0x58251e]
mov byte [eax + 2], cl
mov eax, dword [esi + 4]
push 0xffffffffffffffff
push eax
push eax
call sym.convertifd.exe_AnsiToRoman8Buff
mov edx, dword [esi + 4]
push edx
lea eax, [esp + 0x28]
push eax
push esi
call fcn.004c63d0
add esp, 0x18
test eax, eax
je 0x4c68de
mov esi, dword [esi + 4]
push 0xffffffffffffffff
push esi
push esi
call sym.convertifd.exe_Roman8ToAnsiBuff
add esp, 0xc
mov eax, 1
jmp 0x4c6913
push 0xfffffb39
jmp 0x4c68d6