Function at 0x18001ede0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1800f30e0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r9, rdx
mov rsi, rcx
xor r12d, r12d
mov qword [rbp - 0x31], r12
mov qword [rbp - 1], r12
mov edi, SafeArrayGetLBound
mov qword [rbp - 0x11], rdi
mov r14d, r12d
mov qword [rbp - 0x19], r12
mov byte [rbp - 0x29], r14b
mov rax, qword [rdx]
lea r8, [rbp - 0x31]
lea rdx, [0x1800bd220]
mov rcx, r9
call qword [rax]
test eax, eax
jns 0x18001ee8b
mov rbx, qword [rsi + 0x58]
mov rcx, qword [rbp - 0x31]
cmp rcx, rbx
je 0x18001ee7e
test rbx, rbx
je 0x18001ee6f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x31]
mov qword [rbp - 0x31], rbx
test rcx, rcx
je 0x18001ee7e
mov rax, qword [rcx]
call qword [rax + select]
lea rcx, str.use_m_spWebBrowser
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
lea rdx, [rbp - 1]
call qword [rax + 0xf0]
test eax, eax
jns 0x18001eee0
lea rbx, str.unknown
mov rcx, qword [rbp - 1]
cmp rbx, rcx
je 0x18001eed3
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp - 1], rax
test rax, rax
jne 0x18001eed3
mov ecx, 0x8007000e
call fcn.180004940
int3
lea rcx, str.pBrowser__get_LocationURL_failed
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp - 1]
call fcn.180058de0
mov r15, rax
mov qword [rbp - 9], r12
mov rcx, qword [rbp - 0x31]
mov r8, qword [rcx]
lea rdx, [rbp - 9]
call qword [r8 + 0x90]
test eax, eax
jns 0x18001ef18
lea rcx, str.pBrowser__get_Document__IDispatch_lpDoc2__failed_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x18001f180
mov qword [rbp + 0x1f], SafeArrayGetLBound
mov qword [rbp + 0x17], r12
mov byte [rbp + 7], 0
mov rcx, qword [rbp - 9]
mov qword [rsp + 0x20], rcx
test rcx, rcx
je 0x18001ef3c
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [rbp + 7]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.18001d0d0
test eax, eax
jns 0x18001ef5e
lea rcx, str.GetIframeContent_failed
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rbx, qword [rbp + 0x17]
cmp rbx, 0xffffffffffffffff
jae 0x18001f242
test rbx, rbx
je 0x18001f005
cmp rbx, 0xfffffffffffffffe
jbe 0x18001ef88
lea rcx, str.string_too_long
call fcn.18005a698
int3
cmp rbx, 0xf
jbe 0x18001efa7
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.180002300
mov rdi, qword [rbp - 0x11]
mov r14, qword [rbp - 0x19]
jmp 0x18001efb3
test rbx, rbx
jne 0x18001efb3
mov r14, r12
mov byte [rbp - 0x29], r14b
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rdx, qword [rbp + 7]
lea rcx, [rbp - 0x29]
mov r8, qword [rbp - 0x29]
cmp rdi, 0x10
cmovae rcx, r8
add rcx, r14
test rbx, rbx
je 0x18001efe9
mov r8, rbx
call fcn.180079c20
mov rdi, qword [rbp - 0x11]
mov r8, qword [rbp - 0x29]
mov qword [rbp - 0x19], rbx
lea rax, [rbp - 0x29]
cmp rdi, 0x10
cmovae rax, r8
mov byte [rbx + rax], 0
mov rdi, qword [rbp - 0x11]
mov r14, qword [rbp - 0x19]
mov qword [rbp + 0x17], r12
lea rax, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rax, qword [rbp + 7]
mov byte [rax], 0
mov rcx, qword [rbp - 9]
mov qword [rsp + 0x20], rcx
test rcx, rcx
je 0x18001f02e
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [rbp + 7]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.18001cc50
test eax, eax
jns 0x18001f050
lea rcx, str.GetHtmlContent_failed
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
or rsi, 0xffffffffffffffff
cmp qword [rbp + 0x17], rsi
cmovb rsi, qword [rbp + 0x17]
mov rax, r14
not rax
cmp rax, rsi
ja 0x18001f075
lea rcx, str.string_too_long
call fcn.18005a698
int3
lea rbx, [rsi + r14]
test rsi, rsi
je 0x18001f11a
cmp rbx, 0xfffffffffffffffe
jbe 0x18001f095
lea rcx, str.string_too_long
call fcn.18005a698
int3
cmp rdi, rbx
jae 0x18001f0ab
mov r8, r14
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.180002300
jmp 0x18001f0c3
test rbx, rbx
jne 0x18001f0d0
mov qword [rbp - 0x19], r12
lea rax, [rbp - 0x29]
cmp rdi, 0x10
cmovae rax, qword [rbp - 0x29]
mov byte [rax], bl
mov r14, qword [rbp - 0x19]
mov rdi, qword [rbp - 0x11]
test rbx, rbx
je 0x18001f11a
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rdx, qword [rbp + 7]
lea rcx, [rbp - 0x29]
mov r8, qword [rbp - 0x29]
cmp rdi, 0x10
cmovae rcx, r8
add rcx, r14
test rsi, rsi
je 0x18001f106
mov r8, rsi
call fcn.180079c20
mov rdi, qword [rbp - 0x11]
mov r8, qword [rbp - 0x29]
mov qword [rbp - 0x19], rbx
lea rax, [rbp - 0x29]
cmp rdi, 0x10
cmovae rax, r8
mov byte [rax + rbx], 0
mov rax, qword [rbp + 0x1f]
cmp rax, 0x10
jb 0x18001f170
inc rax
mov rcx, qword [rbp + 7]
cmp rax, 0x1000
jb 0x18001f16b
test cl, 0x1f
je 0x18001f13e
call fcn.1800837e4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18001f14d
call fcn.1800837e4
int3
sub rcx, rax
cmp rcx, 8
jae 0x18001f15c
call fcn.1800837e4
int3
cmp rcx, 0x27
jbe 0x18001f168
call fcn.1800837e4
int3
mov rcx, rax
call fcn.1800591c4
mov qword [rbp + 0x1f], SafeArrayGetLBound
mov qword [rbp + 0x17], r12
mov byte [rbp + 7], 0
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x18001f18f
mov rax, qword [rcx]
call qword [rax + select]
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
lea rdx, [0x1800b2ba0]
test r15, r15
cmovne rdx, r15
mov qword [rbp - 0x69], SafeArrayGetLBound
mov qword [rbp - 0x71], r12
mov byte [rsp + 0x28], 0
cmp byte [rdx], 0
jne 0x18001f1c2
mov r8, r12
jmp 0x18001f1d0
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x18001f1c6
lea rcx, [rsp + 0x28]
call fcn.1800025d0
nop
mov qword [rbp - 0x49], SafeArrayGetLBound
mov qword [rbp - 0x51], r12
mov byte [rbp - 0x61], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x61]
call fcn.1800024a0
nop
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x61]
call fcn.18002fbe0
test r15, r15
je 0x18001f21c
mov rcx, r15
call fcn.180059820
nop
lea rcx, [rbp - 0x29]
call fcn.180002870
nop
mov rcx, qword [rbp - 1]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x18001f24f
mov rax, qword [rcx]
call qword [rax + select]
jmp 0x18001f24f
lea rcx, str.string_too_long
call fcn.18005a698
nop
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.180059260
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret