Function at 0x496020
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xaa8
push esi
push edi
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x290]
push 0x40
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x214]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [esp + 0x210], 0
jne 0x496066
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 1
lea edx, [esp + 0xc]
push 0x5985ac
push edx
call fcn.004d5ee1
lea eax, [esp + 0x14]
lea ecx, [esp + 0x29c]
push eax
push ecx
call fcn.004d62f1
lea edx, [esp + 0x2a4]
push 0x599e98
push edx
call fcn.004d62f1
mov esi, dword [ebp + 0x10]
lea ecx, [esp + 0x2ac]
lea eax, [esi + 0x2fc]
push eax
push ecx
call fcn.004d62f1
lea edx, [esp + 0x2b4]
push 0x599e98
push edx
call fcn.004d62f1
lea eax, [esi + 0x504]
lea ecx, [esp + 0x2bc]
push eax
push ecx
call fcn.004d62f1
lea edx, [esp + 0x2c4]
push 0x599e98
push edx
call fcn.004d62f1
lea eax, [esi + 0x70c]
lea ecx, [esp + 0x2cc]
push eax
push ecx
call fcn.004d62f1
add esp, 0x44
lea edx, [esp + 0x290]
push 0x599e98
push edx
call fcn.004d62f1
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea edi, [esi + 0xf4]
push edi
call fcn.004d6713
add esp, 0xc
cmp eax, 0x104
jae 0x496141
push edi
call fcn.004d6713
add esp, 4
jmp 0x496146
mov eax, 0x104
push eax
lea eax, [esp + 0xc]
push edi
push eax
call fcn.004d6c3f
push 0x7c
lea ecx, [esp + 0x18]
push 0x3b
push ecx
call fcn.004c8760
lea edx, [esp + 0x20]
lea eax, [esp + 0x2a8]
push edx
push eax
call fcn.004d62f1
lea ecx, [esp + 0x2b0]
push 0x599e98
push ecx
call fcn.004d62f1
lea edx, [esi + 0x78]
lea eax, [esp + 0x30]
push edx
push eax
call fcn.004ca770
lea ecx, [esp + 0x38]
lea edx, [esp + 0x2c0]
push ecx
push edx
call fcn.004d62f1
lea eax, [esp + 0x2c8]
push 0x599e98
push eax
call fcn.004d62f1
add esp, 0x40
lea ecx, [esi + 0x94]
lea edx, [esp + 0x290]
push ecx
push edx
call fcn.004d62f1
lea eax, [esp + 0x298]
push 0x599e98
push eax
call fcn.004d62f1
fld dword [esi + 0xc]
add esp, 8
lea ecx, [esp + 0x10]
fstp qword [esp]
push str._.2f
push ecx
call fcn.004d5ee1
lea edx, [esp + 0x18]
lea eax, [esp + 0x2a0]
push edx
push eax
call fcn.004d62f1
lea ecx, [esp + 0x2a8]
push 0x599e98
push ecx
call fcn.004d62f1
fld dword [esi + 0x10]
add esp, 0x18
lea edx, [esp + 0x10]
fstp qword [esp]
push str._.2f
push edx
call fcn.004d5ee1
lea eax, [esp + 0x18]
lea ecx, [esp + 0x2a0]
push eax
push ecx
call fcn.004d62f1
lea edx, [esp + 0x2a8]
push 0x599e98
push edx
call fcn.004d62f1
fld dword [esi + 0x24]
add esp, 0x18
lea eax, [esp + 0x10]
fstp qword [esp]
push str._.2f
push eax
call fcn.004d5ee1
lea ecx, [esp + 0x18]
lea edx, [esp + 0x2a0]
push ecx
push edx
call fcn.004d62f1
lea eax, [esp + 0x2a8]
push 0x599e98
push eax
call fcn.004d62f1
fld dword [esi + 0x28]
add esp, 0x18
lea ecx, [esp + 0x10]
fstp qword [esp]
push str._.2f
push ecx
call fcn.004d5ee1
lea edx, [esp + 0x18]
lea eax, [esp + 0x2a0]
push edx
push eax
call fcn.004d62f1
lea ecx, [esp + 0x2a8]
push 0x599e98
push ecx
call fcn.004d62f1
fld dword [esi + 0x14]
add esp, 0x18
lea edx, [esp + 0x10]
fstp qword [esp]
push str._.2f
push edx
call fcn.004d5ee1
lea eax, [esp + 0x18]
lea ecx, [esp + 0x2a0]
push eax
push ecx
call fcn.004d62f1
lea edx, [esp + 0x2a8]
push 0x599e98
push edx
call fcn.004d62f1
fld dword [esi + 0x18]
add esp, 0x18
lea eax, [esp + 0x10]
fstp qword [esp]
push str._.2f
push eax
call fcn.004d5ee1
lea ecx, [esp + 0x18]
lea edx, [esp + 0x2a0]
push ecx
push edx
call fcn.004d62f1
lea eax, [esp + 0x2a8]
push 0x599e98
push eax
call fcn.004d62f1
mov ecx, dword [esi + 0xe0]
lea edx, [esp + 0x2b0]
add ecx, 0x66
push ecx
push edx
call fcn.004d62f1
lea eax, [esp + 0x2b8]
push 0x599e98
push eax
call fcn.004d62f1
mov eax, dword [esi + 0xe0]
movsx ecx, word [eax + 0x5e]
movsx edx, word [eax + 0x5c]
push ecx
push edx
movsx ecx, word [eax + 0x58]
movsx edx, word [eax + 0x4e]
movsx eax, word [eax + 0x4c]
push ecx
push edx
push eax
push str._d_d_d_d_d
lea ecx, [esp + 0x50]
push ecx
call fcn.004d5ee1
add esp, 0x4c
lea edx, [esp + 8]
lea eax, [esp + 0x290]
push edx
push eax
call fcn.004d62f1
lea ecx, [esp + 0x298]
push 0x599e98
push ecx
call fcn.004d62f1
mov edx, dword [esi + 0x54]
mov eax, dword [esi + 0xf0]
mov ecx, dword [esi + 0xec]
push edx
mov edx, dword [esi + 0x74]
push eax
mov eax, dword [esi + 0x70]
push ecx
mov ecx, dword [esi + 0x6c]
push edx
mov edx, dword [esi + 0x68]
push eax
mov eax, dword [esi + 0x64]
push ecx
mov ecx, dword [esi + 0x60]
push edx
mov edx, dword [esi + 0x5c]
push eax
mov eax, dword [esi + 0x58]
push ecx
mov ecx, dword [esi + 0x50]
push edx
mov edx, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x48]
push ecx
mov ecx, dword [esi + 0x44]
push edx
mov edx, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
lea edx, [esp + 0x60]
push str._d_d_d_d_d_d_d_d_d_d_d_d_d_d_d_d_d_d
push edx
call fcn.004d5ee1
add esp, 0x60
lea eax, [esp + 8]
lea ecx, [esp + 0x290]
push eax
push ecx
call fcn.004d62f1
lea edx, [esp + 0x298]
push 0x599e98
push edx
call fcn.004d62f1
lea eax, [esp + 0x220]
lea ecx, [esp + 0x18]
push eax
push str.Profile__s
push ecx
call fcn.004d5ee1
mov esi, dword [ebp + 0xc]
add esp, 0x1c
lea edx, [esp + 0x290]
lea eax, [esp + 8]
push 0x5b9260
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esp + 0x210]
push ecx
push esi
call fcn.004c9c80
add esp, 8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret