Function at 0x1401789b0
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1403c2c80]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rax, qword [rcx]
mov esi, r8d
mov r12d, edx
lea r8, [rsp + 0x64]
lea rdx, [rsp + 0x60]
mov r15d, r9d
mov rdi, rcx
call qword [rax + Ordinal_305]
mov r11d, dword [rbp + 0x118]
cmp r12d, 0xffffffff
je 0x140178a0a
test r11b, 4
je 0x140178a0f
mov r12d, dword [rsp + 0x60]
cmp esi, 0xffffffff
je 0x140178a1a
test r11b, 4
je 0x140178a1e
mov esi, dword [rsp + 0x64]
mov r9, qword [rdi + 0x138]
mov rcx, qword [rdi + 0xb0]
lea r8, [rsp + 0x44]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x1b8], rbx
call fcn.14017f390
xor ebx, ebx
test byte [rdi + 0x2c], 2
jne 0x140178d18
cmp qword [rdi + 0x200], rbx
je 0x140178b7b
mov r9, qword [rdi + 0x140]
mov rcx, qword [rdi + 0xb0]
lea r8, [rsp + 0x54]
lea rdx, [rsp + 0x5c]
mov qword [rsp + 0x1b0], r13
call fcn.14017f390
mov rcx, qword [rdi + 0x200]
lea rdx, [rsp + 0x70]
mov r8d, reloc.mfc100.dll_Ordinal_300
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rax, qword [rdi + 0x140]
mov r11, qword [rdi]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov rcx, rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [r11 + 0x200]
mov r11d, dword [rsp + 0x54]
mov eax, dword [rsp + 0x44]
cmp r11d, eax
jle 0x140178af0
sub r11d, eax
mov r8d, ebx
mov eax, r11d
cdq
sub eax, edx
sar eax, 1
mov r13d, eax
jmp 0x140178afe
sub eax, r11d
mov r13d, ebx
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov ecx, dword [rsp + 0x5c]
cvttss2si edx, dword [rsp + 0x40]
mov dword [rsp + 0x28], 1
add ecx, ecx
add r8d, esi
mov dword [rsp + 0x20], edx
mov edx, r12d
movd xmm0, ecx
mov rcx, qword [rdi + 0x200]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [rsp + 0x58]
cvttss2si r9d, xmm0
call qword [sym.imp.USER32.dll_MoveWindow]
cmp dword [rdi + 0x1a8], 1
jne 0x140178b6f
mov ecx, dword [rsp + 0x5c]
movd xmm0, ecx
lea eax, [rcx + rcx]
movd xmm1, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
addss xmm1, dword [rsp + 0x58]
addss xmm1, xmm0
cvttss2si eax, xmm1
add r12d, eax
add esi, r13d
jmp 0x140178b73
add esi, dword [rsp + 0x54]
mov r13, qword [rsp + 0x1b0]
mov rcx, qword [rdi + 0x210]
lea rdx, [rsp + 0x70]
mov r8d, reloc.mfc100.dll_Ordinal_300
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rax, qword [rdi + 0x138]
mov r11, qword [rdi]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x4c]
lea rdx, [rsp + 0x70]
mov rcx, rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [r11 + 0x200]
mov rcx, qword [rdi + 0x218]
lea rdx, [rsp + 0x70]
mov r8d, reloc.mfc100.dll_Ordinal_300
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rax, qword [rdi + 0x138]
mov r11, qword [rdi]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x70]
mov rcx, rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [r11 + 0x200]
mov rcx, qword [rdi + 0x220]
test rcx, rcx
je 0x140178c71
movss xmm0, dword [rsp + 0x4c]
movss xmm1, dword [rsp + 0x48]
comiss xmm0, xmm1
ja 0x140178c37
movaps xmm0, xmm1
mov eax, dword [rsp + 0x50]
mov r8d, esi
mov edx, r12d
lea ebx, [rax + rax*2]
mov dword [rsp + 0x28], 1
cvttss2si eax, xmm0
add ebx, eax
cvttss2si eax, dword [rsp + 0x40]
mov r9d, ebx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_MoveWindow]
mov r11d, dword [rsp + 0x50]
lea eax, [rbx + r11]
add r12d, eax
mov eax, dword [rsp + 0x44]
cvttss2si r9d, dword [rsp + 0x4c]
mov rcx, qword [rdi + 0x210]
mov r8d, esi
mov edx, r12d
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rdi + 0xb0]
movd xmm5, dword [rsp + 0x50]
cvtdq2ps xmm5, xmm5
mov r8d, esi
mov dword [rsp + 0x28], 1
movaps xmm0, xmm5
addss xmm0, dword [rsp + 0x4c]
cvttss2si eax, xmm0
add r12d, eax
mov eax, r15d
sub eax, r12d
mov edx, r12d
movd xmm0, eax
mov eax, 0x64
cvtdq2ps xmm0, xmm0
subss xmm0, dword [rsp + 0x48]
subss xmm0, xmm5
cvttss2si ebx, xmm0
cmp ebx, eax
cmovl ebx, eax
mov eax, dword [rsp + 0x44]
mov r9d, ebx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [rsp + 0x50]
mov r8d, esi
cvttss2si r9d, dword [rsp + 0x48]
lea edx, [rbx + rax]
add edx, r12d
jmp 0x140178f38
cmp qword [rdi + 0x200], rbx
je 0x140178dd3
mov r9, qword [rdi + 0x140]
mov rcx, qword [rdi + 0xb0]
lea r8, [rsp + 0x54]
lea rdx, [rsp + 0x5c]
call fcn.14017f390
mov rcx, qword [rdi + 0x200]
lea rdx, [rsp + 0x70]
mov r8d, reloc.mfc100.dll_Ordinal_300
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rax, qword [rdi + 0x140]
mov r11, qword [rdi]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov rcx, rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [r11 + 0x200]
cvttss2si r11d, dword [rsp + 0x40]
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rdi + 0x200]
mov r8d, esi
add eax, eax
mov edx, r12d
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r11d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [rsp + 0x58]
cvttss2si r9d, xmm0
call qword [sym.imp.USER32.dll_MoveWindow]
add esi, dword [rsp + 0x54]
mov rcx, qword [rdi + 0x210]
lea rdx, [rsp + 0x70]
mov r8d, reloc.mfc100.dll_Ordinal_300
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rax, qword [rdi + 0x138]
mov r11, qword [rdi]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x70]
mov rcx, rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [r11 + 0x200]
mov rcx, qword [rdi + 0x218]
lea rdx, [rsp + 0x70]
mov r8d, reloc.mfc100.dll_Ordinal_300
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rax, qword [rdi + 0x138]
mov r11, qword [rdi]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x4c]
lea rdx, [rsp + 0x70]
mov rcx, rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [r11 + 0x200]
mov rcx, qword [rdi + 0x220]
test rcx, rcx
je 0x140178ec1
movss xmm0, dword [rsp + 0x48]
movss xmm1, dword [rsp + 0x4c]
comiss xmm0, xmm1
ja 0x140178e8f
movaps xmm0, xmm1
cvttss2si eax, dword [rsp + 0x40]
cvttss2si r9d, xmm0
mov r8d, esi
mov edx, r12d
mov dword [rsp + 0x28], 1
add r9d, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_MoveWindow]
cvttss2si r11d, dword [rsp + 0x40]
add esi, r11d
mov eax, dword [rsp + 0x44]
cvttss2si r9d, dword [rsp + 0x48]
mov rcx, qword [rdi + 0x210]
mov r8d, esi
mov edx, r12d
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_MoveWindow]
mov r9d, dword [rsp + 0x44]
mov ebx, dword [rbp + 0x110]
mov rcx, qword [rdi + 0xb0]
add esi, r9d
lea eax, [r9 + r9]
mov r8d, esi
mov edx, r12d
sub ebx, eax
mov eax, 0x64
mov dword [rsp + 0x28], 1
sub ebx, esi
cmp ebx, eax
cmovl ebx, eax
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_MoveWindow]
lea r8d, [rbx + rsi]
cvttss2si r9d, dword [rsp + 0x4c]
mov edx, r12d
mov eax, dword [rsp + 0x44]
mov rcx, qword [rdi + 0x218]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_MoveWindow]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x2f0]
mov r8d, dword [rbp + 0x110]
mov edx, r15d
mov r9, qword [rax]
mov rcx, rax
call qword [r9 + 0x60]
mov rbx, qword [rsp + 0x1b8]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1402912a0
add rsp, 0x1c0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret