Function at 0x100004e40
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x380
mov rax, qword [0x100010110]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov ebx, edx
mov edx, 0x10
mov rdi, rcx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov r14d, 2
sub ebx, r14d
mov rbp, rax
je 0x100004eb3
sub ebx, 0x402
je 0x100004fe1
lea r12d, [r14 + 3]
sub ebx, r12d
je 0x100004f9a
lea esi, [r14 - 1]
sub ebx, esi
je 0x100004ef4
sub ebx, esi
je 0x100004eed
cmp ebx, 9
jne 0x100004ec1
mov edx, 3
mov rcx, rdi
call qword [sym.imp.USER32.dll_EndDialog]
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.10000d8d0
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov edx, 4
jmp 0x100004eb8
mov edx, 0x409
mov rcx, rdi
lea r13, [rax + 0x1c]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r8d, 0x33
mov rdx, r13
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor ebx, ebx
mov dword [rbp + 0x18], eax
cmp dword [rbp + 0x84], ebx
je 0x100004f92
mov edx, 0x404
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, ebx
je 0x100004f8c
lea r8d, [rbx + 0x38]
lea rcx, [rsp + 0x38]
xor edx, edx
mov dword [rbp + 0x88], esi
mov dword [rsp + 0x30], ebx
call sub.msvcrt.dll_memset
mov eax, dword [rbp + 0x18]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x50], eax
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x50]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x58], rcx
mov rcx, qword [rbp]
call fcn.10000b1f0
cmp eax, ebx
cmovge r12d, r14d
mov esi, r12d
jmp 0x100004f92
mov dword [rbp + 0x88], ebx
mov rdx, rsi
jmp 0x100004eb8
xor ebx, ebx
cmp dword [rax + 0x84], ebx
je 0x100004ec1
mov edx, 0x409
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edx, 0x401
xor r9d, r9d
lea r8d, [rdx + 9]
mov rcx, rdi
cmp eax, ebx
jne 0x100004fd6
lea r8d, [rdx + 0x13]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x100004ec1
mov r12, qword [rax + 8]
xor ebx, ebx
mov edx, 0x409
mov rcx, rdi
mov r13d, ebx
call qword [sym.imp.USER32.dll_GetDlgItem]
lea rdx, [0x100001a68]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, 0x409
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetFocus]
mov edx, 0x404
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov r14d, 0x80
cmp eax, ebx
je 0x10000509d
lea esi, [rbx + 1]
mov dword [rbp + 0x88], esi
mov rax, qword [r12 + 0x50]
cmp rax, rbx
je 0x100005087
cmp word [rax], bx
je 0x100005087
mov rcx, qword [0x100010720]
lea r8, [rsp + 0x70]
lea edx, [rbx + 0x73]
mov r9d, r14d
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9, qword [r12 + 0x50]
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x170]
mov edx, 0x100
call fcn.100003610
mov ecx, ebx
jmp 0x100005089
mov ecx, esi
cmp byte [r12 + 0x2c], bl
jbe 0x100005107
movzx r13d, byte [r12 + 0x2c]
movzx eax, byte [r12]
jmp 0x100005104
mov dword [rbp + 0x88], ebx
mov rax, qword [r12 + 0x58]
cmp rax, rbx
je 0x1000050ec
cmp word [rax], bx
je 0x1000050ec
mov rcx, qword [0x100010720]
lea r8, [rsp + 0x70]
mov r9d, r14d
mov edx, 0x73
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9, qword [r12 + 0x58]
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x170]
mov edx, 0x100
call fcn.100003610
mov ecx, ebx
jmp 0x1000050f1
mov ecx, 1
cmp byte [r12 + 0x2d], bl
jbe 0x100005107
movzx eax, byte [r12 + 1]
movzx r13d, byte [r12 + 0x2d]
sub r13d, eax
cmp ecx, ebx
je 0x10000512a
mov rcx, qword [0x100010720]
mov r9d, 0x100
lea r8, [rsp + 0x170]
lea edx, [r9 - 0x69]
call qword [sym.imp.USER32.dll_LoadStringW]
mov edx, 0x422
mov rcx, rdi
mov word [rsp + 0x36e], bx
call qword [sym.imp.USER32.dll_GetDlgItem]
lea rdx, [rsp + 0x170]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowTextW]
cmp r13d, 0xa
ja 0x1000051e9
mov rcx, qword [0x100010720]
mov r9d, r14d
lea r8, [rsp + 0x70]
mov edx, 0x78
cmp dword [rbp + 0x88], ebx
jne 0x10000517c
mov edx, 0x94
call qword [sym.imp.USER32.dll_LoadStringW]
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x170]
mov r9d, r13d
mov edx, 0x100
call fcn.100003610
mov esi, 0x415
mov rcx, rdi
mov edx, esi
mov word [rsp + 0x36e], bx
call qword [sym.imp.USER32.dll_GetDlgItem]
lea rdx, [rsp + 0x170]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [rbp + 0x88], ebx
je 0x1000051d7
cmp byte [r12], bl
jne 0x1000051d7
mov edx, esi
jmp 0x1000051ee
mov edx, esi
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 5
jmp 0x1000051f9
mov edx, 0x415
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x100004ec1