Function at 0x180032be9
Capabilities:
Get graphical window text

Disassembly:
test rcx, rcx
je 0x180032f97
push rdi
push r12
sub rsp, 0x4c8
mov rax, qword [0x1801aef28]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov r12, r8
mov rdi, rdx
test rdx, rdx
je 0x180032f7d
test r8, r8
je 0x180032f7d
mov eax, dword [rcx + 0x18]
test al, 2
jne 0x180032c2f
or eax, 4
mov dword [rcx + 0x18], eax
jmp 0x180032f7d
cmp dword [rcx + 0x28], 0
je 0x180032f7d
mov rcx, rdx
mov qword [rsp + 0x4b0], rsi
call qword [sym.imp.USER32.dll_WindowFromDC]
mov rsi, rax
test rax, rax
je 0x180032f75
mov ecx, dword [0x1801c958c]
mov qword [rsp + 0x4c0], rbx
cmp ecx, 0x8000000
jne 0x180032f05
lea rcx, [0x1801dd740]
mov r9, r12
mov r8, rdi
mov rdx, rax
mov qword [rsp + 0x4b8], rbp
call fcn.180072530
xor ebx, ebx
mov ebp, eax
test eax, eax
jne 0x180032d51
lea rcx, [rsp + 0x82]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x80], bx
call fcn.1800a1250
lea rcx, [rsp + 0x292]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x290], bx
call fcn.1800a1250
lea rdx, [rsp + 0x80]
mov r8d, 0x103
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rdx, [rsp + 0x290]
mov r8d, 0x103
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, str.wxWindowNR
lea rcx, [rsp + 0x80]
call fcn.1800a1a10
test eax, eax
jne 0x180032d51
lea rdx, str.frame
lea rcx, [rsp + 0x290]
call fcn.1800a1a10
test eax, eax
jne 0x180032d51
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetParent]
lea rcx, [0x1801dd740]
mov r9, r12
mov rdx, rax
mov r8, rdi
call fcn.180072530
mov ebp, eax
xor edx, edx
lea rcx, [rsp + 0x44]
mov dword [rsp + 0x40], ebx
lea r8d, [rdx + 0x34]
call fcn.1800a1250
lea r8, [rsp + 0x40]
lea rcx, [0x1801dd740]
mov rdx, r12
call fcn.180072270
mov edi, eax
cmp eax, 0xffffffff
je 0x180032d96
cmp qword [rsp + 0x48], rbx
je 0x180032d96
lea rdx, [0x1801cb7d0]
mov rcx, r12
call fcn.180031090
test ebp, ebp
mov rbp, qword [rsp + 0x4b8]
je 0x180032eff
cmp edi, 0xffffffff
je 0x180032ede
cmp qword [rsp + 0x48], rbx
je 0x180032ede
cmp dword [rsp + 0x44], ebx
jne 0x180032ecd
mov edi, ebx
nop word [rax + rax]
lea r8, str.ScrollBar
xor r9d, r9d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.USER32.dll_FindWindowExW]
mov edx, 0xfffffff0
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
test al, 1
jne 0x180032e01
bt eax, 0x1c
jae 0x180032e06
mov edi, 1
test rbx, rbx
je 0x180032e20
test edi, edi
je 0x180032dd0
jmp 0x180032e5f
lea r8, str.SkinScrollBar
xor r9d, r9d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.USER32.dll_FindWindowExW]
mov edx, 0xfffffff0
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
test al, 1
jne 0x180032e51
bt eax, 0x1c
jae 0x180032e56
mov edi, 1
test rbx, rbx
je 0x180032ecd
test edi, edi
je 0x180032e20
xor eax, eax
lea r8, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x24], eax
lea edx, [rax + 2]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x20], 0x1c
mov dword [rsp + 0x24], reloc.WS2_32.dll_socket
call qword [sym.imp.USER32.dll_GetScrollInfo]
mov edx, dword [rsp + 0x34]
mov r11d, dword [rsp + 0x30]
mov eax, dword [rsp + 0x2c]
test edx, edx
jne 0x180032eb5
cmp eax, 0x64
jne 0x180032eb5
test r11d, r11d
je 0x180032ecd
sub eax, r11d
cmp edx, eax
jge 0x180032ecd
lea rcx, [0x1801cb7d0]
call fcn.180032bd0
jmp 0x180032f6d
call fcn.18002f640
lea rcx, [0x1801cb7d0]
call fcn.180032bd0
mov edx, dword [0x1801c1154]
mov rcx, qword [0x1801c9590]
mov r9, rsi
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x1801c958c]
jmp 0x180032f05
mov ecx, dword [0x1801c958c]
cmp ecx, 0x80000
je 0x180032f25
cmp ecx, 0x800
je 0x180032f25
cmp ecx, 0x800000
je 0x180032f25
cmp ecx, 0x1000000
jne 0x180032f6d
lea rcx, [0x1801cf1f0]
mov r8, rsi
mov rdx, r12
call fcn.180041080
mov edx, dword [0x1801c108c]
mov rcx, qword [0x1801c9590]
xor r9d, r9d
mov r8, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x180032f6d
cmp dword [0x1801cd2b0], 0
jne 0x180032f6d
lea rcx, [0x1801cf1f0]
mov rdx, rsi
call fcn.180041170
mov rbx, qword [rsp + 0x4c0]
mov rsi, qword [rsp + 0x4b0]
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.1800a1220
add rsp, 0x4c8
pop r12
pop rdi
repz ret