Function at 0x418b65
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xc0
push ebx
push esi
push edi
mov edi, dword [0x4339ac]
push dword [edi + 0x138]
call dword [sym.imp.USER32.dll_SetCursor]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp + 0x58], eax
lea eax, [ebp - 0x38]
push eax
push 5
push 0xd
push dword [edi + 0x36e4]
call esi
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x418bbb
push 0x42da3c
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x38]
push eax
call fcn.0041cef0
push eax
mov dword [ebp + 0x74], eax
mov ebx, str._04X
lea eax, [ebp - 0x38]
push ebx
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
push 0
push 0xc
push dword [edi + 0x36e4]
call esi
lea eax, [ebp - 0x38]
push eax
push 5
push 0xd
push dword [edi + 0x36e8]
call esi
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x418c18
push 0x42da3c
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x38]
push eax
call fcn.0041cef0
push eax
mov dword [ebp + 0x64], eax
lea eax, [ebp - 0x38]
push ebx
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
push 0
push 0xc
push dword [edi + 0x36e8]
call esi
lea eax, [ebp - 0x38]
push eax
push 5
push 0xd
push dword [edi + 0x36ec]
call esi
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x418c70
push 0x42da3c
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x38]
push eax
call fcn.0041cef0
push eax
mov dword [ebp + 0x68], eax
lea eax, [ebp - 0x38]
push ebx
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
push 0
push 0xc
push dword [edi + 0x36ec]
call esi
lea eax, [ebp - 0x38]
push eax
push 5
push 0xd
push dword [edi + 0x36f0]
call esi
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x418cc8
push 0x42da3c
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x38]
push eax
call fcn.0041cef0
push eax
mov dword [ebp + 0x6c], eax
lea eax, [ebp - 0x38]
push ebx
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
push 0
push 0xc
push dword [edi + 0x36f0]
call esi
lea eax, [ebp - 0x38]
push eax
push 5
push 0xd
push dword [edi + 0x36f4]
call esi
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x418d20
push 0x42da3c
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x38]
push eax
call fcn.0041cef0
push eax
mov dword [ebp + 0x70], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x38]
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
push 0
push 0xc
push dword [edi + 0x36f4]
call esi
push str.Push_ESC_End.
push 0
push 0xc
push dword [edi + 0x36f8]
call esi
push dword [edi + 0x658]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 8
lea eax, [ebp + 0x5c]
push eax
call fcn.0041ce10
lea eax, [ebp + 0x5c]
push eax
push dword [ebp + 0x70]
push dword [ebp + 0x6c]
push dword [ebp + 0x68]
push dword [ebp + 0x64]
push dword [ebp + 0x74]
call fcn.004189fa
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x48]
push eax
push dword [ebp + 0x74]
lea eax, [ebp + 0x5c]
push eax
call fcn.004188d3
xor eax, eax
mov ecx, dword [ebp + eax*4 + 0x64]
test ecx, ecx
je 0x418db9
cmp ecx, dword [ebp + eax*4 + 0x48]
jne 0x418dbf
inc eax
cmp eax, 4
jl 0x418dab
cmp eax, 4
lea eax, [ebp - 0x38]
jl 0x418e1c
push str._ST_hex:
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
and dword [ebp + 0x74], 0
mov eax, dword [ebp + 0x74]
movzx eax, byte [ebp + eax + 0x5c]
push eax
lea eax, [ebp - 0x48]
push 0x4263cc
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [ebp + 0x74], 7
jge 0x418e11
push 0x42c548
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
inc dword [ebp + 0x74]
cmp dword [ebp + 0x74], 8
jl 0x418dd7
jmp 0x418e28
push str.Error__
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x38]
push eax
push 0
push 0xc
push dword [edi + 0x36f8]
call esi
push dword [ebp + 0x58]
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret