Function at 0x180031a60
Capabilities:
Get graphical window text
Print debug messages

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x1b0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1800ad0e0]
xor rax, rsp
mov qword [rbp + 0xa8], rax
mov r14, rcx
xor dil, dil
xor edx, edx
lea rcx, str.IEFrame
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x180031ac2
lea rcx, str.GetIECurURL_failed:_IEFrame_not_find
jmp 0x180032087
xor r9d, r9d
lea r8, str.WorkerW
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
jne 0x180031ae8
lea rcx, str.GetIECurURL_failed:_WorkerW_not_find
jmp 0x180032087
xor r9d, r9d
lea r8, str.ReBarWindow32
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
jne 0x180031b0e
lea rcx, str.GetIECurURL_failed:_ReBarWindow32_not_find
jmp 0x180032087
xor r9d, r9d
lea r8, str.Address_Band_Root
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
jne 0x180031b34
lea rcx, str.GetIECurURL_failed:_Address_Band_Root_not_find
jmp 0x180032087
xor r9d, r9d
lea r8, str.Edit
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rsi, rax
test rax, rax
je 0x180032080
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xe]
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageA]
mov dword [rbp + 0x80], eax
lea rdx, str.WM_GETTEXTLENGTH_is__d
lea rcx, [rsp + 0x70]
call fcn.18000cdd0
mov rbx, rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea rax, [fcn.180009b40]
mov qword [rsp + 0x28], rax
lea rax, [0x180020db0]
mov qword [rsp + 0x30], rax
cmp byte [rbx + 0x44], 0
je 0x180031bb4
mov rcx, rbx
call fcn.180017030
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.180009b90
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x180031c14
mov r10d, dword [rbx + 0x40]
cmp eax, r10d
jge 0x180031c14
nop dword [rax]
movsxd r9, dword [rbx + 0x3c]
mov r8, r9
mov rcx, qword [rbx + 0x18]
mov rax, r9
shr rax, 5
lea rdx, [rcx + rax*4]
and r8d, 0x1f
mov ecx, r8d
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x180031c14
lea eax, [r9 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r10d
jl 0x180031be0
mov rdx, rbx
lea rcx, [rbp + 0x88]
call fcn.180027560
nop
cmp byte [rbp + 0x60], 0
je 0x180031c50
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x180031c4c
mov rax, qword [rcx]
call qword [rax + select]
mov rcx, rax
test rax, rax
je 0x180031c4c
mov rax, qword [rax]
mov edx, 1
call qword [rax]
nop
mov byte [rbp + 0x60], 0
lea rax, vtable.boost::io::basic_altstringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.1800178e0
lea rax, vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x20], rax
mov rbx, qword [rbp + 0x40]
test rbx, rbx
je 0x180031ca7
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180031c9a
mov rax, qword [rcx]
call qword [rax + select]
mov rcx, rax
test rax, rax
je 0x180031c9a
mov rax, qword [rax]
mov edx, 1
call qword [rax]
nop
mov edx, select
mov rcx, rbx
call fcn.18004736c
mov rax, qword [rbp - 0x30]
cmp rax, 0x10
jb 0x180031cfd
inc rax
mov rcx, qword [rbp - 0x48]
cmp rax, 0x1000
jb 0x180031cf8
test cl, 0x1f
je 0x180031ccb
call fcn.180057aec
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180031cda
call fcn.180057aec
int3
sub rcx, rax
cmp rcx, 8
jae 0x180031ce9
call fcn.180057aec
int3
cmp rcx, 0x27
jbe 0x180031cf5
call fcn.180057aec
int3
mov rcx, rax
call fcn.180046964
mov qword [rbp - 0x30], setsockopt
xor r15d, r15d
mov qword [rbp - 0x38], r15
mov byte [rbp - 0x48], r15b
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x180031d93
mov rax, qword [rbp - 0x68]
sub rax, rcx
sar rax, 2
movabs rdx, 0x3fffffffffffffff
cmp rax, rdx
jbe 0x180031d39
call fcn.180057aec
int3
lea rax, [rax*4]
cmp rax, 0x1000
jb 0x180031d82
test byte [rbp - 0x78], 0x1f
je 0x180031d55
call fcn.180057aec
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180031d64
call fcn.180057aec
int3
sub rcx, rax
cmp rcx, 8
jae 0x180031d73
call fcn.180057aec
int3
cmp rcx, 0x27
jbe 0x180031d7f
call fcn.180057aec
int3
mov rcx, rax
call fcn.180046964
mov qword [rbp - 0x78], r15
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x180031e53
movzx r9d, byte [rbp + 0x84]
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
call fcn.180008fa0
mov rcx, qword [rbp - 0x80]
mov r8, qword [rsp + 0x70]
sub rcx, r8
movabs rax, 0xe38e38e38e38e39
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movabs rax, 0x1c71c71c71c71c7
cmp rdx, rax
jbe 0x180031df4
call fcn.180057aec
int3
lea rax, [rdx + rdx*8]
shl rax, 4
cmp rax, 0x1000
jb 0x180031e3e
test byte [rsp + 0x70], 0x1f
je 0x180031e11
call fcn.180057aec
int3
mov rax, qword [r8 - 8]
cmp rax, r8
jb 0x180031e20
call fcn.180057aec
int3
sub r8, rax
cmp r8, 8
jae 0x180031e2f
call fcn.180057aec
int3
cmp r8, 0x27
jbe 0x180031e3b
call fcn.180057aec
int3
mov r8, rax
mov rcx, r8
call fcn.180046964
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r15
lea rcx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 0x10
cmovae rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [rbp + 0x80]
inc eax
movsxd rcx, eax
call fcn.180047344
mov rbx, rax
test rax, rax
je 0x180032064
mov eax, dword [rbp + 0x80]
inc eax
movsxd r8, eax
xor edx, edx
mov rcx, rbx
call fcn.18004c910
movsxd r9, ebx
mov eax, dword [rbp + 0x80]
inc eax
movsxd r8, eax
mov edx, 0xd
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageA]
mov qword [rsp + 0x38], setsockopt
mov qword [rsp + 0x30], r15
mov byte [rsp + 0x20], 0
cmp byte [rbx], 0
jne 0x180031eda
mov r8, r15
jmp 0x180031eea
or r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rbx + r8], 0
jne 0x180031ee0
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1800024c0
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x84]
call fcn.1800027d0
mov rdx, rax
mov rcx, r14
call fcn.180010330
mov rax, qword [rsp + 0x58]
cmp rax, 0x10
jb 0x180031f71
inc rax
mov rcx, qword [rsp + 0x40]
cmp rax, 0x1000
jb 0x180031f6c
test cl, 0x1f
je 0x180031f3f
call fcn.180057aec
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180031f4e
call fcn.180057aec
int3
sub rcx, rax
cmp rcx, 8
jae 0x180031f5d
call fcn.180057aec
int3
cmp rcx, 0x27
jbe 0x180031f69
call fcn.180057aec
int3
mov rcx, rax
call fcn.180046964
mov qword [rsp + 0x58], setsockopt
mov qword [rsp + 0x50], r15
mov byte [rsp + 0x40], 0
mov rax, qword [rsp + 0x38]
cmp rax, 0x10
jb 0x180031fdc
inc rax
mov rcx, qword [rsp + 0x20]
cmp rax, 0x1000
jb 0x180031fd7
test cl, 0x1f
je 0x180031faa
call fcn.180057aec
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180031fb9
call fcn.180057aec
int3
sub rcx, rax
cmp rcx, 8
jae 0x180031fc8
call fcn.180057aec
int3
cmp rcx, 0x27
jbe 0x180031fd4
call fcn.180057aec
int3
mov rcx, rax
call fcn.180046964
mov rcx, rbx
call fcn.18004736c
lea rcx, str.GetIECurURL_success:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, r14
call fcn.180036bb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
mov rax, qword [rbp + 0xa0]
cmp rax, 0x10
jb 0x18003205f
inc rax
mov rcx, qword [rbp + 0x88]
cmp rax, 0x1000
jb 0x18003205a
test cl, 0x1f
je 0x18003202d
call fcn.180057aec
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18003203c
call fcn.180057aec
int3
sub rcx, rax
cmp rcx, 8
jae 0x18003204b
call fcn.180057aec
int3
cmp rcx, 0x27
jbe 0x180032057
call fcn.180057aec
int3
mov rcx, rax
call fcn.180046964
mov dil, 1
jmp 0x18003208d
lea rcx, str.GetIECurURL_failed:_new_URL_failed
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rcx, [rbp + 0x88]
call fcn.180002740
jmp 0x18003208d
lea rcx, str.GetIECurURL_failed:_Dont_find_IE_
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
movzx eax, dil
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.180046a00
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret