Function at 0x180040530
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 [0x1800f30e0]
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 0x180040592
lea rcx, str.GetIECurURL_failed:_IEFrame_not_find
jmp 0x180040b57
xor r9d, r9d
lea r8, str.WorkerW
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
jne 0x1800405b8
lea rcx, str.GetIECurURL_failed:_WorkerW_not_find
jmp 0x180040b57
xor r9d, r9d
lea r8, str.ReBarWindow32
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
jne 0x1800405de
lea rcx, str.GetIECurURL_failed:_ReBarWindow32_not_find
jmp 0x180040b57
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 0x180040604
lea rcx, str.GetIECurURL_failed:_Address_Band_Root_not_find
jmp 0x180040b57
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 0x180040b50
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.180012550
mov rbx, rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea rax, [fcn.180046ce0]
mov qword [rsp + 0x28], rax
lea rax, [0x180031cd0]
mov qword [rsp + 0x30], rax
cmp byte [rbx + 0x44], 0
je 0x180040684
mov rcx, rbx
call fcn.180024c60
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.18000b4a0
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x1800406e4
mov r10d, dword [rbx + 0x40]
cmp eax, r10d
jge 0x1800406e4
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 0x1800406e4
lea eax, [r9 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r10d
jl 0x1800406b0
mov rdx, rbx
lea rcx, [rbp + 0x88]
call fcn.180010fb0
nop
cmp byte [rbp + 0x60], 0
je 0x180040720
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x18004071c
mov rax, qword [rcx]
call qword [rax + select]
mov rcx, rax
test rax, rax
je 0x18004071c
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.180025bc0
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 0x180040777
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18004076a
mov rax, qword [rcx]
call qword [rax + select]
mov rcx, rax
test rax, rax
je 0x18004076a
mov rax, qword [rax]
mov edx, 1
call qword [rax]
nop
mov edx, SafeArrayGetLBound
mov rcx, rbx
call fcn.180059820
mov rax, qword [rbp - 0x30]
cmp rax, 0x10
jb 0x1800407cd
inc rax
mov rcx, qword [rbp - 0x48]
cmp rax, 0x1000
jb 0x1800407c8
test cl, 0x1f
je 0x18004079b
call fcn.1800837e4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800407aa
call fcn.1800837e4
int3
sub rcx, rax
cmp rcx, 8
jae 0x1800407b9
call fcn.1800837e4
int3
cmp rcx, 0x27
jbe 0x1800407c5
call fcn.1800837e4
int3
mov rcx, rax
call fcn.1800591c4
mov qword [rbp - 0x30], SafeArrayGetLBound
xor r15d, r15d
mov qword [rbp - 0x38], r15
mov byte [rbp - 0x48], r15b
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x180040863
mov rax, qword [rbp - 0x68]
sub rax, rcx
sar rax, 2
movabs rdx, 0x3fffffffffffffff
cmp rax, rdx
jbe 0x180040809
call fcn.1800837e4
int3
lea rax, [rax*4]
cmp rax, 0x1000
jb 0x180040852
test byte [rbp - 0x78], 0x1f
je 0x180040825
call fcn.1800837e4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180040834
call fcn.1800837e4
int3
sub rcx, rax
cmp rcx, 8
jae 0x180040843
call fcn.1800837e4
int3
cmp rcx, 0x27
jbe 0x18004084f
call fcn.1800837e4
int3
mov rcx, rax
call fcn.1800591c4
mov qword [rbp - 0x78], r15
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x180040923
movzx r9d, byte [rbp + 0x84]
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
call fcn.18000a380
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 0x1800408c4
call fcn.1800837e4
int3
lea rax, [rdx + rdx*8]
shl rax, 4
cmp rax, 0x1000
jb 0x18004090e
test byte [rsp + 0x70], 0x1f
je 0x1800408e1
call fcn.1800837e4
int3
mov rax, qword [r8 - 8]
cmp rax, r8
jb 0x1800408f0
call fcn.1800837e4
int3
sub r8, rax
cmp r8, 8
jae 0x1800408ff
call fcn.1800837e4
int3
cmp r8, 0x27
jbe 0x18004090b
call fcn.1800837e4
int3
mov r8, rax
mov rcx, r8
call fcn.1800591c4
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.180059ba4
mov rbx, rax
test rax, rax
je 0x180040b34
mov eax, dword [rbp + 0x80]
inc eax
movsxd r8, eax
xor edx, edx
mov rcx, rbx
call fcn.180078610
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], SafeArrayGetLBound
mov qword [rsp + 0x30], r15
mov byte [rsp + 0x20], 0
cmp byte [rbx], 0
jne 0x1800409aa
mov r8, r15
jmp 0x1800409ba
or r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rbx + r8], 0
jne 0x1800409b0
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1800025d0
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x84]
call fcn.180002900
mov rdx, rax
mov rcx, r14
call fcn.1800195f0
mov rax, qword [rsp + 0x58]
cmp rax, 0x10
jb 0x180040a41
inc rax
mov rcx, qword [rsp + 0x40]
cmp rax, 0x1000
jb 0x180040a3c
test cl, 0x1f
je 0x180040a0f
call fcn.1800837e4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180040a1e
call fcn.1800837e4
int3
sub rcx, rax
cmp rcx, 8
jae 0x180040a2d
call fcn.1800837e4
int3
cmp rcx, 0x27
jbe 0x180040a39
call fcn.1800837e4
int3
mov rcx, rax
call fcn.1800591c4
mov qword [rsp + 0x58], SafeArrayGetLBound
mov qword [rsp + 0x50], r15
mov byte [rsp + 0x40], 0
mov rax, qword [rsp + 0x38]
cmp rax, 0x10
jb 0x180040aac
inc rax
mov rcx, qword [rsp + 0x20]
cmp rax, 0x1000
jb 0x180040aa7
test cl, 0x1f
je 0x180040a7a
call fcn.1800837e4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180040a89
call fcn.1800837e4
int3
sub rcx, rax
cmp rcx, 8
jae 0x180040a98
call fcn.1800837e4
int3
cmp rcx, 0x27
jbe 0x180040aa4
call fcn.1800837e4
int3
mov rcx, rax
call fcn.1800591c4
mov rcx, rbx
call fcn.180059820
lea rcx, str.GetIECurURL_success:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, r14
call fcn.180022ae0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
mov rax, qword [rbp + 0xa0]
cmp rax, 0x10
jb 0x180040b2f
inc rax
mov rcx, qword [rbp + 0x88]
cmp rax, 0x1000
jb 0x180040b2a
test cl, 0x1f
je 0x180040afd
call fcn.1800837e4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180040b0c
call fcn.1800837e4
int3
sub rcx, rax
cmp rcx, 8
jae 0x180040b1b
call fcn.1800837e4
int3
cmp rcx, 0x27
jbe 0x180040b27
call fcn.1800837e4
int3
mov rcx, rax
call fcn.1800591c4
mov dil, 1
jmp 0x180040b5d
lea rcx, str.GetIECurURL_failed:_new_URL_failed
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rcx, [rbp + 0x88]
call fcn.180002870
jmp 0x180040b5d
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.180059260
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