Function at 0x42d640
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x104c
call fcn.004ac5b0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1048], eax
push ebx
push ebp
push esi
push 0x2808
push dword [0x4e6030]
mov ebp, edx
mov esi, ecx
mov dword [esp + 0x18], ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
movq xmm0, qword [0x4b6098]
mov ebx, eax
mov cx, word [0x4b60a0]
lea eax, [esp + 0x62]
push 0x7f2
push 0
push eax
mov dword [esp + 0x60], 0x750052
movq qword [esp + 0x64], xmm0
mov word [esp + 0x6c], cx
call fcn.0048fb10
add esp, 0xc
lea eax, [esp + 0x54]
push 0x400
push eax
push 0
push esi
push str.windows
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
test eax, eax
je 0x42da35
cmp word [esp + 0x54], 0x20
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
jne 0x42d70a
lea eax, [esp + 0x54]
push eax
call esi
cmp eax, 1
je 0x42da35
cmp word [esp + 0x54], 0x20
jne 0x42d70a
cmp word [esp + 0x56], 0x20
jne 0x42d70a
lea eax, [esp + 0x54]
push eax
call esi
cmp eax, 2
je 0x42da35
push edi
push 0x20
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
jne 0x42d868
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push eax
push 0x1004
push ebx
mov dword [0x4d7c60], 0xd
call edi
mov dword [0x4d7c48], eax
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x860], ax
lea eax, [esp + 0x862]
push eax
mov dword [0x4d7c4c], 0
call fcn.0048fb10
add esp, 0xc
lea eax, [esp + 0x58]
lea esi, [esp + 0x858]
push 0x5c
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
je 0x42d7a6
movzx ecx, word [eax]
test cx, cx
je 0x42d79f
mov edx, esi
sub eax, edx
nop
mov word [esi], cx
add esi, 2
movzx ecx, word [eax + esi]
test cx, cx
jne 0x42d790
xor eax, eax
mov word [esi], ax
jmp 0x42d7b9
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x85e]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push 0x4d7c44
push 0
push 0x104d
lea eax, [esp + 0x866]
push ebx
mov dword [0x4d7c58], eax
call edi
lea eax, [esp + 0x58]
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1c]
push eax
push dword [0x4d7c48]
push 0x1074
push ebx
call edi
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], 2
push eax
push dword [0x4d7c48]
mov dword [esp + 0x38], ebp
push 0x1074
push ebx
call edi
cmp dword [esp + 0x1060], 0
mov ecx, 0x2000
mov eax, 0x1000
mov dword [esp + 0x2c], 0xf000
cmovne eax, ecx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
push dword [0x4d7c48]
push 0x102b
push ebx
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x1048]
xor ecx, esp
call fcn.0048ea75
add esp, 0x104c
ret
cmp word [esp + 0x58], 0x20
jne 0x42d888
lea eax, [esp + 0x5a]
push eax
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
cmp word [esp + 0x58], 0x20
je 0x42d870
lea eax, [esp + 0x58]
push eax
call esi
mov ebp, eax
xor edi, edi
test ebp, ebp
js 0x42d84a
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x58]
mov eax, 2
mov dword [esp + 0x10], edi
sub eax, ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x58]
cmp word [eax + edi*2], 0x20
lea eax, [eax + edi*2]
je 0x42d8c6
cmp edi, ebp
jne 0x42da27
cmp edi, 0x400
jae 0x42da4f
xor ecx, ecx
mov dword [0x4d7c60], 0xd
push ecx
push ecx
push 0x1004
push ebx
mov word [eax], cx
call esi
mov dword [0x4d7c48], eax
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x860], ax
lea eax, [esp + 0x862]
push eax
mov dword [0x4d7c4c], 0
call fcn.0048fb10
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x64]
add esp, 0xc
lea esi, [esp + 0x858]
add eax, ecx
mov dword [esp + 0x10], eax
push 0x5c
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
je 0x42d96a
movzx ecx, word [eax]
test cx, cx
je 0x42d95f
mov edx, esi
sub eax, edx
nop word [eax + eax]
mov word [esi], cx
add esi, 2
movzx ecx, word [eax + esi]
test cx, cx
jne 0x42d950
xor eax, eax
mov word [esi], ax
mov esi, dword [esp + 0x10]
jmp 0x42d97d
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x85a]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push 0x4d7c44
push 0
push 0x104d
lea eax, [esp + 0x866]
push ebx
mov dword [0x4d7c58], eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x1c]
mov dword [esp + 0x30], esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push dword [0x4d7c48]
mov dword [esp + 0x2c], 1
push 0x1074
push ebx
call esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1c]
push eax
push dword [0x4d7c48]
mov dword [esp + 0x2c], 2
push 0x1074
push ebx
call esi
cmp dword [esp + 0x1060], 0
mov ecx, 0x2000
mov eax, 0x1000
mov dword [esp + 0x2c], 0xf000
cmovne eax, ecx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
push dword [0x4d7c48]
push 0x102b
push ebx
call esi
lea ecx, [esp + 0x58]
lea ecx, [ecx + edi*2]
add ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
inc edi
cmp edi, ebp
jle 0x42d8b0
jmp 0x42d84a
mov ecx, dword [esp + 0x1054]
xor eax, eax
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048ea75
add esp, 0x104c
ret
call fcn.0048eba6
int3