Function at 0x497840
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d97a3
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
push 0
push 0x1009
push dword [edi + 0x4c]
call dword [sym.imp.USER32.dll_SendMessageW]
xorps xmm0, xmm0
movlpd qword [ebp - 0x288], xmm0
push 0x40
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0
call fcn.004a71b8
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x288], eax
push dword [edi + 4]
lea eax, [ebp - 0x288]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x52da90
call fcn.00430320
push 0
test al, al
jne 0x4978f1
push 0
push 0x10
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x498212
call fcn.004a27e0
push eax
push 0
call fcn.004a29e0
add esp, 0xc
mov dword [ebp - 0x2b0], eax
xorps xmm0, xmm0
mov byte [ebp - 4], 1
push 0x4ec1d4
lea ecx, [ebp - 0x2b0]
movups xmmword [ebp - 0x2a8], xmm0
movups xmmword [ebp - 0x298], xmm0
call fcn.004a2300
mov eax, dword [ebp - 0x288]
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
jne 0x4979d6
nop
mov ecx, dword [eax + 0x20]
add dword [ebp - 0x2a8], ecx
mov ecx, dword [eax + 0x24]
adc dword [ebp - 0x2a4], ecx
mov ecx, dword [eax + 0x28]
add dword [ebp - 0x2a0], ecx
mov ecx, dword [eax + 0x2c]
add dword [ebp - 0x29c], ecx
mov ecx, dword [eax + 0x30]
add dword [ebp - 0x298], ecx
mov ecx, dword [eax + 0x34]
add dword [ebp - 0x294], ecx
mov ecx, dword [eax + 0x38]
add dword [ebp - 0x290], ecx
mov ecx, dword [eax + 0x3c]
add dword [ebp - 0x28c], ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x4979b4
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x4979b0
nop word [eax + eax]
cmp eax, dword [ecx + 8]
jne 0x4979b0
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x4979a0
mov eax, ecx
jmp 0x4979cc
mov eax, ecx
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x4979cc
nop
mov ecx, dword [edx]
mov eax, edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x4979c0
cmp byte [eax + 0xd], 0
je 0x497940
mov ecx, dword [ebp - 0x2b0]
mov dword [ebp - 0x2e0], ecx
test ecx, ecx
je 0x4979f1
call fcn.004a26e0
mov ecx, dword [ebp - 0x2b0]
mov byte [ebp - 4], 2
mov dword [ebp - 0x2d8], ecx
test ecx, ecx
je 0x497a04
call fcn.004a26e0
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [ebp - 0x2a4]
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x2cc], ecx
mov dword [ebp - 0x2b4], eax
lea eax, [ebp - 0x2e0]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x348]
push eax
lea ecx, [ebp - 0x288]
call fcn.0042b7a0
mov ecx, dword [ebp - 0x2d8]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x497a94
call fcn.004a2a20
mov ecx, dword [ebp - 0x2e0]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x497aa7
call fcn.004a2a20
mov esi, dword [ebp - 0x288]
mov byte [ebp - 4], 1
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x4981d6
nop dword [eax]
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
call fcn.004a7810
divsd xmm0, qword [0x4e5148]
sub esp, 8
lea eax, [ebp - 0x27c]
movsd qword [esp], xmm0
push 0x4e5158
push eax
call fcn.00402dc0
add esp, 0x10
mov dword [ebp - 0x318], 0
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x314], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x328]
movlpd qword [ebp - 0x320], xmm0
push eax
push 0
push 0x104d
push dword [edi + 0x4c]
movlpd qword [ebp - 0x310], xmm0
movlpd qword [ebp - 0x308], xmm0
movlpd qword [ebp - 0x300], xmm0
movlpd qword [ebp - 0x2f8], xmm0
mov dword [ebp - 0x324], SysReAllocStringLen
mov dword [ebp - 0x328], 1
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push dword [esi + 0x28]
mov dword [ebp - 0x330], eax
lea eax, [ebp - 0x280]
push eax
mov dword [ebp - 0x280], 0
call fcn.0046ab10
add esp, 0x10
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 6
call fcn.004a2380
mov ecx, dword [ebp - 0x330]
xorps xmm0, xmm0
mov dword [ebp - 0x2d8], eax
lea eax, [ebp - 0x2ec]
push eax
push 0
push 0x104c
push dword [edi + 0x4c]
mov dword [ebp - 0x2d4], 0
movlpd qword [ebp - 0x2c8], xmm0
movlpd qword [ebp - 0x2c0], xmm0
movlpd qword [ebp - 0x2b8], xmm0
mov dword [ebp - 0x2ec], 1
mov dword [ebp - 0x2e8], ecx
mov dword [ebp - 0x2e4], 1
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2cc], 0
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push dword [esi + 0x2c]
lea eax, [ebp - 0x334]
push eax
call fcn.0046ab10
add esp, 0x10
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp - 0x280]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x497c59
call fcn.004a2a20
mov eax, dword [ebp - 0x32c]
mov ecx, dword [eax]
mov dword [ebp - 0x280], ecx
test ecx, ecx
je 0x497c6a
call fcn.004a26e0
mov ecx, dword [ebp - 0x334]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x497c7d
call fcn.004a2a20
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 6
call fcn.004a2380
mov ecx, dword [ebp - 0x330]
xorps xmm0, xmm0
mov dword [ebp - 0x2d8], eax
lea eax, [ebp - 0x2ec]
push eax
push 0
push 0x104c
push dword [edi + 0x4c]
mov dword [ebp - 0x2d4], 0
movlpd qword [ebp - 0x2c8], xmm0
movlpd qword [ebp - 0x2c0], xmm0
movlpd qword [ebp - 0x2b8], xmm0
mov dword [ebp - 0x2ec], 1
mov dword [ebp - 0x2e8], ecx
mov dword [ebp - 0x2e4], 2
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2cc], 0
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push dword [esi + 0x30]
lea eax, [ebp - 0x338]
push eax
call fcn.0046ab10
add esp, 0x10
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp - 0x280]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x497d4b
call fcn.004a2a20
mov eax, dword [ebp - 0x32c]
mov ecx, dword [eax]
mov dword [ebp - 0x280], ecx
test ecx, ecx
je 0x497d5c
call fcn.004a26e0
mov ecx, dword [ebp - 0x338]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x497d6f
call fcn.004a2a20
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 6
call fcn.004a2380
mov ecx, dword [ebp - 0x330]
xorps xmm0, xmm0
mov dword [ebp - 0x2d8], eax
lea eax, [ebp - 0x2ec]
push eax
push 0
push 0x104c
push dword [edi + 0x4c]
mov dword [ebp - 0x2d4], 0
movlpd qword [ebp - 0x2c8], xmm0
movlpd qword [ebp - 0x2c0], xmm0
movlpd qword [ebp - 0x2b8], xmm0
mov dword [ebp - 0x2ec], 1
mov dword [ebp - 0x2e8], ecx
mov dword [ebp - 0x2e4], 3
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2cc], 0
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push dword [esi + 0x34]
lea eax, [ebp - 0x33c]
push eax
call fcn.0046ab10
add esp, 0x10
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp - 0x280]
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x497e3d
call fcn.004a2a20
mov eax, dword [ebp - 0x32c]
mov ecx, dword [eax]
mov dword [ebp - 0x280], ecx
test ecx, ecx
je 0x497e4e
call fcn.004a26e0
mov ecx, dword [ebp - 0x33c]
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x497e61
call fcn.004a2a20
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 6
call fcn.004a2380
mov ecx, dword [ebp - 0x330]
xorps xmm0, xmm0
mov dword [ebp - 0x2d8], eax
lea eax, [ebp - 0x2ec]
push eax
push 0
push 0x104c
push dword [edi + 0x4c]
mov dword [ebp - 0x2d4], 0
movlpd qword [ebp - 0x2c8], xmm0
movlpd qword [ebp - 0x2c0], xmm0
movlpd qword [ebp - 0x2b8], xmm0
mov dword [ebp - 0x2ec], 1
mov dword [ebp - 0x2e8], ecx
mov dword [ebp - 0x2e4], 4
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2cc], 0
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push dword [esi + 0x38]
lea eax, [ebp - 0x340]
push eax
call fcn.0046ab10
add esp, 0x10
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp - 0x280]
mov byte [ebp - 4], 0xd
test ecx, ecx
je 0x497f2f
call fcn.004a2a20
mov eax, dword [ebp - 0x32c]
mov ecx, dword [eax]
mov dword [ebp - 0x280], ecx
test ecx, ecx
je 0x497f40
call fcn.004a26e0
mov ecx, dword [ebp - 0x340]
mov byte [ebp - 4], 0xe
test ecx, ecx
je 0x497f53
call fcn.004a2a20
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 6
call fcn.004a2380
mov ecx, dword [ebp - 0x330]
xorps xmm0, xmm0
mov dword [ebp - 0x2d8], eax
lea eax, [ebp - 0x2ec]
push eax
push 0
push 0x104c
push dword [edi + 0x4c]
mov dword [ebp - 0x2d4], 0
movlpd qword [ebp - 0x2c8], xmm0
movlpd qword [ebp - 0x2c0], xmm0
movlpd qword [ebp - 0x2b8], xmm0
mov dword [ebp - 0x2ec], 1
mov dword [ebp - 0x2e8], ecx
mov dword [ebp - 0x2e4], 5
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2cc], 0
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push dword [esi + 0x3c]
lea eax, [ebp - 0x344]
push eax
call fcn.0046ab10
add esp, 0x10
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp - 0x280]
mov byte [ebp - 4], 0xf
test ecx, ecx
je 0x498021
call fcn.004a2a20
mov eax, dword [ebp - 0x32c]
mov ecx, dword [eax]
mov dword [ebp - 0x280], ecx
test ecx, ecx
je 0x498032
call fcn.004a26e0
mov ecx, dword [ebp - 0x344]
mov byte [ebp - 4], 0x10
test ecx, ecx
je 0x498045
call fcn.004a2a20
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 6
call fcn.004a2380
mov ecx, dword [ebp - 0x330]
xorps xmm0, xmm0
mov dword [ebp - 0x2d8], eax
lea eax, [ebp - 0x2ec]
push eax
push 0
push 0x104c
push dword [edi + 0x4c]
mov dword [ebp - 0x2d4], 0
movlpd qword [ebp - 0x2c8], xmm0
movlpd qword [ebp - 0x2c0], xmm0
movlpd qword [ebp - 0x2b8], xmm0
mov dword [ebp - 0x2ec], 1
mov dword [ebp - 0x2e8], ecx
mov dword [ebp - 0x2e4], 6
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2cc], 0
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esi + 0x18]
call fcn.004a2380
mov ecx, dword [ebp - 0x330]
xorps xmm0, xmm0
mov dword [ebp - 0x2d8], eax
lea eax, [ebp - 0x2ec]
push eax
push 0
push 0x104c
push dword [edi + 0x4c]
mov dword [ebp - 0x2d4], 0
movlpd qword [ebp - 0x2c8], xmm0
movlpd qword [ebp - 0x2c0], xmm0
movlpd qword [ebp - 0x2b8], xmm0
mov dword [ebp - 0x2ec], 1
mov dword [ebp - 0x2e8], ecx
mov dword [ebp - 0x2e4], 7
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2cc], 0
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x280]
mov byte [ebp - 4], 0x11
test ecx, ecx
je 0x498183
call fcn.004a2a20
mov eax, dword [esi + 8]
mov byte [ebp - 4], 1
cmp byte [eax + 0xd], 0
je 0x4981b4
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4981b0
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x4981b0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4981a0
mov esi, eax
jmp 0x4981cc
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4981cc
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4981c0
cmp byte [esi + 0xd], 0
je 0x497ac0
push dword [ebp - 0x284]
lea eax, [ebp - 0x74]
push 0x4e5204
push eax
call fcn.0041a890
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push 0x42f
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [ebp - 0x2b0]
mov byte [ebp - 4], 0x12
test ecx, ecx
je 0x498212
call fcn.004a2a20
mov eax, dword [ebp - 0x288]
push dword [eax + 4]
lea eax, [ebp - 0x288]
push eax
mov ecx, eax
call fcn.00497540
push 0x40
push dword [ebp - 0x288]
call fcn.004a71e8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret