Function at 0x14000bcf0
Capabilities:
Get graphical window text

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x338
movapd xmmword [rsp + 0x320], xmm10
movapd xmmword [rsp + 0x310], xmm9
movaps xmmword [rsp + 0x300], xmm8
movaps xmmword [rsp + 0x2f0], xmm7
movaps xmmword [rsp + 0x2e0], xmm6
mov rsi, rcx
cmp edx, 0x111
je 0x14000be3e
cmp edx, 0x110
jne 0x14000bf22
mov rcx, rsi
mov edx, 0x7dc
call qword [sym.imp.user32.dll_GetDlgItem]
mov rsi, rax
movabs rax, 0x100000009c
mov qword [rsp + 0x44], rax
mov rcx, qword [0x14001c020]
mov rbx, qword [sym.imp.user32.dll_SendMessageW]
lea r9, [rsp + 0x44]
mov edx, 0x43d
xor r8d, r8d
call rbx
mov r8d, 0xfe
mov rcx, rsi
mov edx, 0x141
xor r9d, r9d
call rbx
cmp word [rsp + 0x5e], 0
jle 0x14000be2e
xor r14d, r14d
movss xmm6, dword [0x140010190]
movss xmm7, dword [0x1400101b0]
movss xmm8, dword [0x1400101b4]
lea r15, [0x14001cc60]
lea rdi, [rsp + 0xe0]
nop word cs:[rax + rax]
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [rsp + r14*4 + 0x60]
divss xmm0, xmm6
mulss xmm0, xmm7
divss xmm0, xmm8
xorps xmm3, xmm3
cvtss2sd xmm3, xmm0
mov qword [rsp + 0x20], r15
mov rcx, rdi
movq r9, xmm3
call sym.swprintf
mov rcx, rsi
mov edx, 0x143
xor r8d, r8d
mov r9, rdi
call rbx
inc r14
movsx rax, word [rsp + 0x5e]
cmp r14, rax
jl 0x14000bde0
mov rcx, rsi
call qword [sym.imp.user32.dll_SetFocus]
xor ebx, ebx
jmp 0x14000c222
mov rdi, r8
movzx eax, di
xor ebx, ebx
cmp eax, 0x64
jg 0x14000bf29
cmp eax, 1
je 0x14000bff1
cmp eax, 2
je 0x14000c134
cmp eax, 0x64
jne 0x14000c222
mov rcx, rsi
mov edx, 0x7dc
call qword [sym.imp.user32.dll_GetDlgItem]
mov rdi, rax
lea rbx, [rsp + 0xe0]
mov rcx, rax
mov rdx, rbx
mov r8d, 0xff
call qword [sym.imp.user32.dll_GetWindowTextW]
nop word cs:[rax + rax]
cmp word [rbx], 0
lea rbx, [rbx + 2]
jne 0x14000bea0
mov dword [rbx - 2], 0x20
lea rax, [rsp + 0xe0]
nop dword [rax]
cmp word [rax], 0
lea rax, [rax + 2]
jne 0x14000bec0
xor ecx, ecx
lea r13, [0x14001cc60]
nop word cs:[rax + rax]
movzx edx, word [rcx + r13]
mov word [rax + rcx - 2], dx
add rcx, 2
test dx, dx
jne 0x14000bee0
lea r9, [rsp + 0xe0]
mov rcx, rdi
mov edx, 0x158
mov r8, 0xffffffffffffffff
call qword [sym.imp.user32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x14000c1c8
mov rcx, rdi
jmp 0x14000be31
xor ebx, ebx
jmp 0x14000c222
cmp eax, 0x65
je 0x14000c14a
cmp eax, 0x66
je 0x14000c196
cmp eax, 0x7dc
jne 0x14000c222
mov r14, r9
mov r15, qword [sym.imp.user32.dll_GetDlgItem]
mov rcx, rsi
mov edx, 0x64
call r15
mov rbx, rax
mov rcx, rsi
mov edx, 0x65
call r15
mov rdi, rax
mov rcx, rsi
mov edx, 0x66
call r15
mov rsi, rax
mov rcx, r14
call qword [sym.imp.user32.dll_GetWindowTextLengthW]
xor edx, edx
test eax, eax
setne dl
mov rcx, rbx
call qword [sym.imp.user32.dll_EnableWindow]
mov rcx, r14
mov edx, 0x146
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.user32.dll_SendMessageW]
test rax, rax
je 0x14000c20e
mov rcx, rsi
mov edx, 1
call qword [sym.imp.user32.dll_EnableWindow]
mov rcx, r14
mov edx, 0x147
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.user32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x14000c215
mov rcx, rdi
mov edx, 1
call qword [sym.imp.user32.dll_EnableWindow]
xor ebx, ebx
jmp 0x14000c222
mov rcx, rsi
mov edx, 0x7dc
call qword [sym.imp.user32.dll_GetDlgItem]
mov rbx, rax
movabs rax, 0x100000009c
mov qword [rsp + 0x44], rax
xor r13d, r13d
lea r9, [rsp + 0xe0]
mov rcx, rbx
mov edx, 0x148
xor r8d, r8d
call qword [sym.imp.user32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x14000c114
xor ebp, ebp
lea r14, [rsp + 0xe0]
lea r12, [rsp + 0x30]
movsd xmm6, qword [0x140010188]
mov r15, qword [sym.imp.user32.dll_SendMessageW]
movss xmm7, dword [0x140010190]
movsd xmm8, qword [0x140010198]
movsd xmm9, qword [0x1400101a0]
movsd xmm10, qword [0x1400101a8]
nop dword [rax + rax]
mov rcx, r14
lea rdx, [rsp + 0x34]
mov r8, r12
call sym.number_from_string
movss xmm0, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
cmp ecx, 2
je 0x14000c0d0
cmp ecx, 1
je 0x14000c0e0
mov eax, 0
test ecx, ecx
jne 0x14000c0e8
cvtss2sd xmm0, xmm0
mulsd xmm0, xmm8
divsd xmm0, xmm9
mulsd xmm0, xmm10
jmp 0x14000c0d8
cvtss2sd xmm0, xmm0
mulsd xmm0, xmm6
cvttsd2si eax, xmm0
jmp 0x14000c0e8
mulss xmm0, xmm7
cvttss2si eax, xmm0
mov dword [rsp + rbp*4 + 0x60], eax
lea r13, [rbp + 1]
mov rcx, rbx
mov edx, 0x148
mov r8, r13
mov r9, r14
call r15
cmp rbp, 0x1e
ja 0x14000c114
mov rbp, r13
cmp rax, 0xffffffffffffffff
jne 0x14000c080
mov word [rsp + 0x5e], r13w
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 ebx, 1
jmp 0x14000c222
mov rcx, rsi
mov edx, 0x7dc
call qword [sym.imp.user32.dll_GetDlgItem]
mov rsi, rax
xor ebx, ebx
mov rcx, rax
mov edx, 0x147
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.user32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x14000c222
xor ebx, ebx
mov rcx, rsi
mov edx, 0x144
mov r8, rax
xor r9d, r9d
call qword [sym.imp.user32.dll_SendMessageW]
jmp 0x14000c222
mov rcx, rsi
mov edx, 0x7dc
call qword [sym.imp.user32.dll_GetDlgItem]
mov rsi, rax
xor ebx, ebx
mov rcx, rax
mov edx, 0x14b
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.user32.dll_SendMessageW]
mov rcx, rsi
call qword [sym.imp.user32.dll_SetFocus]
jmp 0x14000c222
mov dword [rsp + 0x34], 0
mov rcx, rdi
mov edx, 0x146
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.user32.dll_SendMessageW]
mov rbx, rax
lea rcx, [rsp + 0xe0]
lea rdx, [rsp + 0x34]
lea r8, [rsp + 0x44]
call sym.number_from_string
test eax, eax
je 0x14000c264
cmp ebx, 0x20
jl 0x14000c27f
mov edx, 0x6b0
jmp 0x14000c269
xor ebx, ebx
mov rcx, rsi
jmp 0x14000c21a
xor ebx, ebx
mov rcx, rdi
xor edx, edx
call qword [sym.imp.user32.dll_EnableWindow]
mov rax, rbx
movaps xmm6, xmmword [rsp + 0x2e0]
movaps xmm7, xmmword [rsp + 0x2f0]
movaps xmm8, xmmword [rsp + 0x300]
movaps xmm9, xmmword [rsp + 0x310]
movaps xmm10, xmmword [rsp + 0x320]
add rsp, 0x338
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov edx, 0x6a9
mov rcx, rsi
mov r8d, 0x40
call sym.MessageBoxWithResStringW
mov rcx, rdi
jmp 0x14000be31
mov dword [rsp + 0x30], 0xbf800000
movss xmm1, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x44]
call sym.units_to_twips
mov ebp, eax
test ebx, ebx
jle 0x14000c363
mov qword [rsp + 0x38], rbx
mov ebx, ebx
xor esi, esi
lea r14, [rsp + 0xe0]
lea r15, [rsp + 0x30]
lea r12, [rsp + 0x44]
movsd xmm6, qword [0x140010188]
movss xmm7, dword [0x140010190]
movsd xmm8, qword [0x140010198]
movsd xmm9, qword [0x1400101a0]
movsd xmm10, qword [0x1400101a8]
mov rcx, rdi
mov edx, 0x148
mov r8, rsi
mov r9, r14
call qword [sym.imp.user32.dll_SendMessageW]
mov rcx, r14
mov rdx, r15
mov r8, r12
call sym.number_from_string
movss xmm0, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x44]
cmp ecx, 2
je 0x14000c33a
cmp ecx, 1
je 0x14000c348
mov eax, 0
test ecx, ecx
jne 0x14000c350
cvtss2sd xmm0, xmm0
mulsd xmm0, xmm8
divsd xmm0, xmm9
mulsd xmm0, xmm10
jmp 0x14000c342
cvtss2sd xmm0, xmm0
mulsd xmm0, xmm6
cvttsd2si eax, xmm0
jmp 0x14000c350
mulss xmm0, xmm7
cvttss2si eax, xmm0
cmp ebp, eax
jle 0x14000c36a
inc rsi
cmp rbx, rsi
jne 0x14000c2e6
mov rsi, qword [rsp + 0x38]
jmp 0x14000c36a
mov eax, 0xffffffff
xor esi, esi
cmp ebp, eax
je 0x14000bf1a
xorps xmm0, xmm0
cvtsi2ss xmm0, ebp
divss xmm0, dword [0x140010190]
mulss xmm0, dword [0x1400101b0]
divss xmm0, dword [0x1400101b4]
cvtss2sd xmm3, xmm0
mov qword [rsp + 0x20], r13
lea rbx, [rsp + 0xe0]
mov rcx, rbx
movq r9, xmm3
call sym.swprintf
mov r8d, esi
mov rcx, rdi
mov edx, 0x14a
mov r9, rbx
call qword [sym.imp.user32.dll_SendMessageW]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.user32.dll_SetWindowTextW]
jmp 0x14000bf1a