Function at 0x14000b710
Capabilities:
Get graphical window text

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x388
movaps xmmword [rsp + 0x370], xmm8
movaps xmmword [rsp + 0x360], xmm7
movaps xmmword [rsp + 0x350], xmm6
mov rsi, rcx
cmp edx, 0x111
je 0x14000b94b
xor edi, edi
cmp edx, 0x110
jne 0x14000bcb4
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
mov r13, rax
mov rbx, qword [sym.imp.user32.dll_GetDlgItem]
mov rcx, rsi
mov edx, 0x7db
call rbx
mov r12, rax
mov rcx, rsi
mov edx, 0x7d8
call rbx
mov r15, rax
mov rcx, rsi
mov edx, 0x7d9
call rbx
mov r14, rax
mov rcx, rsi
mov edx, 0x7da
call rbx
mov qword [rsp + 0x38], rax
mov rsi, qword [sym.imp.user32.dll_LoadStringW]
lea rbx, [rsp + 0x150]
mov rcx, r13
mov edx, 0x588
mov r8, rbx
mov r9d, 0xff
call rsi
mov rbp, qword [sym.imp.user32.dll_SendMessageW]
mov rcx, r12
mov edx, 0x143
xor r8d, r8d
mov r9, rbx
call rbp
mov rcx, r13
mov edx, 0x589
mov r8, rbx
mov r9d, 0xff
call rsi
mov rcx, r12
mov edx, 0x143
xor r8d, r8d
mov r9, rbx
call rbp
mov rcx, r13
mov edx, 0x58a
mov r8, rbx
mov r9d, 0xff
call rsi
mov rcx, r12
mov edx, 0x143
xor r8d, r8d
mov r9, rbx
call rbp
movabs rax, 0xf000000bc
mov qword [rsp + 0x44], rax
mov rcx, qword [0x14001c020]
lea r9, [rsp + 0x44]
mov edx, 0x43d
xor r8d, r8d
call rbp
movzx eax, word [rsp + 0x5c]
xor ecx, ecx
cmp ax, 3
sete cl
add rcx, rcx
cmp ax, 2
mov r8d, 1
cmovne r8, rcx
mov rcx, r12
mov edx, 0x14e
xor r9d, r9d
call rbp
mov eax, dword [rsp + 0x58]
add eax, dword [rsp + 0x50]
cvtsi2ss xmm0, eax
movss xmm6, dword [0x140010190]
divss xmm0, xmm6
movss xmm7, dword [0x1400101b0]
mulss xmm0, xmm7
movss xmm8, dword [0x1400101b4]
divss xmm0, xmm8
cvtss2sd xmm3, xmm0
lea r12, [0x14001cc60]
mov qword [rsp + 0x20], r12
mov rcx, rbx
movq r9, xmm3
call sym.swprintf
mov r13, qword [sym.imp.user32.dll_SetWindowTextW]
mov rcx, r15
mov rdx, rbx
call r13
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [rsp + 0x54]
divss xmm0, xmm6
mulss xmm0, xmm7
divss xmm0, xmm8
xorps xmm3, xmm3
cvtss2sd xmm3, xmm0
mov qword [rsp + 0x20], r12
mov rcx, rbx
movq r9, xmm3
call sym.swprintf
mov rcx, r14
mov rdx, rbx
call r13
xor eax, eax
sub eax, dword [rsp + 0x58]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
divss xmm0, xmm6
mulss xmm0, xmm7
divss xmm0, xmm8
xorps xmm3, xmm3
cvtss2sd xmm3, xmm0
mov qword [rsp + 0x20], r12
mov rcx, rbx
movq r9, xmm3
call sym.swprintf
mov rcx, qword [rsp + 0x38]
mov rdx, rbx
call r13
jmp 0x14000bcb4
mov rdi, r8
cmp di, 2
je 0x14000bca3
movzx eax, di
cmp eax, 1
jne 0x14000ba6b
mov rbx, qword [sym.imp.user32.dll_GetDlgItem]
mov rcx, rsi
mov edx, 0x7db
call rbx
mov r12, rax
mov rcx, rsi
mov edx, 0x7d8
call rbx
mov r15, rax
mov rcx, rsi
mov edx, 0x7d9
call rbx
mov r14, rax
mov rcx, rsi
mov edx, 0x7da
call rbx
mov rbx, rax
movabs rax, 0x20000000bc
mov qword [rsp + 0x44], rax
mov rcx, qword [0x14001c020]
mov r13, qword [sym.imp.user32.dll_SendMessageW]
xor ebp, ebp
lea r9, [rsp + 0x44]
mov edx, 0x43d
xor r8d, r8d
call r13
test byte [rsp + 0x48], 0x20
sete byte [rsp + 0x38]
cmp word [rsp + 0x4c], 0
sete byte [rsp + 0x2f]
mov rcx, r12
mov edx, 0x147
xor r8d, r8d
xor r9d, r9d
call r13
cdqe
lea rcx, [0x140010158]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x5c], ax
lea r12, [rsp + 0x150]
mov rcx, r15
mov rdx, r12
mov r8d, 0xff
call qword [sym.imp.user32.dll_GetWindowTextW]
lea rdx, [rsp + 0x34]
lea r8, [rsp + 0x30]
mov rcx, r12
call sym.number_from_string
mov r15d, eax
movss xmm0, dword [rsp + 0x34]
mov eax, dword [rsp + 0x30]
cmp eax, 2
je 0x14000ba72
cmp eax, 1
je 0x14000ba84
test eax, eax
jne 0x14000ba90
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x140010198]
divsd xmm0, qword [0x1400101a0]
mulsd xmm0, qword [0x1400101a8]
jmp 0x14000ba7e
xor edi, edi
jmp 0x14000bcb4
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x140010188]
cvttsd2si ebp, xmm0
jmp 0x14000ba90
mulss xmm0, dword [0x140010190]
cvttss2si ebp, xmm0
mov dword [rsp + 0x58], ebp
lea r12, [rsp + 0x150]
mov rcx, r14
mov rdx, r12
mov r8d, 0xff
call qword [sym.imp.user32.dll_GetWindowTextW]
lea rdx, [rsp + 0x34]
lea r8, [rsp + 0x30]
mov rcx, r12
call sym.number_from_string
mov ebp, eax
add ebp, r15d
movss xmm0, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
cmp ecx, 2
je 0x14000bafd
cmp ecx, 1
je 0x14000bb0f
xor eax, eax
test ecx, ecx
jne 0x14000bb1b
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x140010198]
divsd xmm0, qword [0x1400101a0]
mulsd xmm0, qword [0x1400101a8]
jmp 0x14000bb09
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x140010188]
cvttsd2si eax, xmm0
jmp 0x14000bb1b
mulss xmm0, dword [0x140010190]
cvttss2si eax, xmm0
mov dword [rsp + 0x54], eax
lea r14, [rsp + 0x150]
mov rcx, rbx
mov rdx, r14
mov r8d, 0xff
call qword [sym.imp.user32.dll_GetWindowTextW]
lea rdx, [rsp + 0x34]
lea r8, [rsp + 0x30]
mov rcx, r14
call sym.number_from_string
add ebp, eax
movss xmm0, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
cmp ecx, 2
je 0x14000bb85
cmp ecx, 1
je 0x14000bb97
xor eax, eax
test ecx, ecx
jne 0x14000bba3
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x140010198]
divsd xmm0, qword [0x1400101a0]
mulsd xmm0, qword [0x1400101a8]
jmp 0x14000bb91
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x140010188]
cvttsd2si eax, xmm0
jmp 0x14000bba3
mulss xmm0, dword [0x140010190]
cvttss2si eax, xmm0
mov dword [rsp + 0x50], eax
cmp ebp, 3
jne 0x14000bbd9
movzx r8d, byte [rsp + 0x38]
or r8b, byte [rsp + 0x2f]
mov ecx, dword [rsp + 0x58]
lea edx, [rcx + rax]
test edx, eax
js 0x14000bc4e
test ecx, ecx
jns 0x14000bc52
xor ecx, ecx
test edx, edx
cmovle edx, ecx
mov eax, edx
jmp 0x14000bc52
mov rax, qword [0x14001bff0]
mov dword [rsp + 0x100], 0x50
mov qword [rsp + 0x108], rax
xor edi, edi
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], 0x6a9
lea rax, [0x14000ffc0]
mov qword [rsp + 0x120], rax
mov dword [rsp + 0x128], 0x40
xorps xmm0, xmm0
movups xmmword [rsp + 0x130], xmm0
movups xmmword [rsp + 0x13c], xmm0
lea rcx, [rsp + 0x100]
call qword [sym.imp.user32.dll_MessageBoxIndirectW]
jmp 0x14000bcb4
mov ecx, eax
neg ecx
add ecx, eax
mov dword [rsp + 0x50], ecx
neg eax
mov dword [rsp + 0x58], eax
movabs rcx, 0xf000000bc
mov qword [rsp + 0x44], rcx
test r8b, r8b
jne 0x14000bc89
xor ecx, ecx
test eax, eax
cmovg ecx, eax
mov word [rsp + 0xf8], cx
mov dword [rsp + 0x48], 0x400f
mov rcx, qword [0x14001c020]
lea r9, [rsp + 0x44]
mov edx, 0x447
xor r8d, r8d
call qword [sym.imp.user32.dll_SendMessageW]
mov rcx, rsi
mov rdx, rdi
call qword [sym.imp.user32.dll_EndDialog]
mov edi, 1
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x350]
movaps xmm7, xmmword [rsp + 0x360]
movaps xmm8, xmmword [rsp + 0x370]
add rsp, 0x388
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret