Function at 0x18001f880
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 [0x1800ba0e0]
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, [0x18008f0b0]
mov rcx, r9
call qword [rax]
test eax, eax
jns 0x18001f92b
mov rbx, qword [rsi + 0x58]
mov rcx, qword [rbp - 0x31]
cmp rcx, rbx
je 0x18001f91e
test rbx, rbx
je 0x18001f90f
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 0x18001f91e
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 0x18001f980
lea rbx, str.unknown
mov rcx, qword [rbp - 1]
cmp rbx, rcx
je 0x18001f973
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 0x18001f973
mov ecx, 0x8007000e
call fcn.180004930
int3
lea rcx, str.pBrowser__get_LocationURL_failed
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp - 1]
call fcn.18004ac70
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 0x18001f9b8
lea rcx, str.pBrowser__get_Document__IDispatch_lpDoc2__failed_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x18001fc20
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 0x18001f9dc
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [rbp + 7]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.18001db70
test eax, eax
jns 0x18001f9fe
lea rcx, str.GetIframeContent_failed
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rbx, qword [rbp + 0x17]
cmp rbx, 0xffffffffffffffff
jae 0x18001fce2
test rbx, rbx
je 0x18001faa5
cmp rbx, 0xfffffffffffffffe
jbe 0x18001fa28
lea rcx, str.string_too_long
call fcn.18004c4d8
int3
cmp rbx, 0xf
jbe 0x18001fa47
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.1800022f0
mov rdi, qword [rbp - 0x11]
mov r14, qword [rbp - 0x19]
jmp 0x18001fa53
test rbx, rbx
jne 0x18001fa53
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 0x18001fa89
mov r8, rbx
call fcn.1800525f0
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 0x18001face
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [rbp + 7]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.18001d6f0
test eax, eax
jns 0x18001faf0
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 0x18001fb15
lea rcx, str.string_too_long
call fcn.18004c4d8
int3
lea rbx, [rsi + r14]
test rsi, rsi
je 0x18001fbba
cmp rbx, 0xfffffffffffffffe
jbe 0x18001fb35
lea rcx, str.string_too_long
call fcn.18004c4d8
int3
cmp rdi, rbx
jae 0x18001fb4b
mov r8, r14
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.1800022f0
jmp 0x18001fb63
test rbx, rbx
jne 0x18001fb70
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 0x18001fbba
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 0x18001fba6
mov r8, rsi
call fcn.1800525f0
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 0x18001fc10
inc rax
mov rcx, qword [rbp + 7]
cmp rax, 0x1000
jb 0x18001fc0b
test cl, 0x1f
je 0x18001fbde
call fcn.18005c7f4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18001fbed
call fcn.18005c7f4
int3
sub rcx, rax
cmp rcx, 8
jae 0x18001fbfc
call fcn.18005c7f4
int3
cmp rcx, 0x27
jbe 0x18001fc08
call fcn.18005c7f4
int3
mov rcx, rax
call fcn.18004b054
mov qword [rbp + 0x1f], SafeArrayGetLBound
mov qword [rbp + 0x17], r12
mov byte [rbp + 7], 0
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x18001fc2f
mov rax, qword [rcx]
call qword [rax + select]
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
lea rdx, [0x180087bb0]
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 0x18001fc62
mov r8, r12
jmp 0x18001fc70
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x18001fc66
lea rcx, [rsp + 0x28]
call fcn.1800025c0
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.180002490
nop
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x61]
call fcn.180031650
test r15, r15
je 0x18001fcbc
mov rcx, r15
call fcn.18004b24c
nop
lea rcx, [rbp - 0x29]
call fcn.180002860
nop
mov rcx, qword [rbp - 1]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x18001fcef
mov rax, qword [rcx]
call qword [rax + select]
jmp 0x18001fcef
lea rcx, str.string_too_long
call fcn.18004c4d8
nop
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.18004b0f0
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