Function at 0x180012e90
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 [0x1800ad0e0]
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, select
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, [0x1800831b8]
mov rcx, r9
call qword [rax]
test eax, eax
jns 0x180012f3b
mov rbx, qword [rsi + 0x58]
mov rcx, qword [rbp - 0x31]
cmp rcx, rbx
je 0x180012f2e
test rbx, rbx
je 0x180012f1f
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 0x180012f2e
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 0x180012f90
lea rbx, str.unknown
mov rcx, qword [rbp - 1]
cmp rbx, rcx
je 0x180012f83
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 0x180012f83
mov ecx, 0x8007000e
call fcn.180004810
int3
lea rcx, str.pBrowser__get_LocationURL_failed
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp - 1]
call fcn.180046580
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 0x180012fc8
lea rcx, str.pBrowser__get_Document__IDispatch_lpDoc2__failed_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x180013230
mov qword [rbp + 0x1f], setsockopt
mov qword [rbp + 0x17], r12
mov byte [rbp + 7], 0
mov rcx, qword [rbp - 9]
mov qword [rsp + 0x20], rcx
test rcx, rcx
je 0x180012fec
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [rbp + 7]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1800121b0
test eax, eax
jns 0x18001300e
lea rcx, str.GetIframeContent_failed
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rbx, qword [rbp + 0x17]
cmp rbx, 0xffffffffffffffff
jae 0x1800132f2
test rbx, rbx
je 0x1800130b5
cmp rbx, 0xfffffffffffffffe
jbe 0x180013038
lea rcx, str.string_too_long
call fcn.180047df8
int3
cmp rbx, 0xf
jbe 0x180013057
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.1800021f0
mov rdi, qword [rbp - 0x11]
mov r14, qword [rbp - 0x19]
jmp 0x180013063
test rbx, rbx
jne 0x180013063
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 0x180013099
mov r8, rbx
call fcn.18004df20
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 0x1800130de
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [rbp + 7]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.180011d30
test eax, eax
jns 0x180013100
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 0x180013125
lea rcx, str.string_too_long
call fcn.180047df8
int3
lea rbx, [rsi + r14]
test rsi, rsi
je 0x1800131ca
cmp rbx, 0xfffffffffffffffe
jbe 0x180013145
lea rcx, str.string_too_long
call fcn.180047df8
int3
cmp rdi, rbx
jae 0x18001315b
mov r8, r14
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.1800021f0
jmp 0x180013173
test rbx, rbx
jne 0x180013180
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 0x1800131ca
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 0x1800131b6
mov r8, rsi
call fcn.18004df20
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 0x180013220
inc rax
mov rcx, qword [rbp + 7]
cmp rax, 0x1000
jb 0x18001321b
test cl, 0x1f
je 0x1800131ee
call fcn.180057aec
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800131fd
call fcn.180057aec
int3
sub rcx, rax
cmp rcx, 8
jae 0x18001320c
call fcn.180057aec
int3
cmp rcx, 0x27
jbe 0x180013218
call fcn.180057aec
int3
mov rcx, rax
call fcn.180046964
mov qword [rbp + 0x1f], setsockopt
mov qword [rbp + 0x17], r12
mov byte [rbp + 7], 0
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x18001323f
mov rax, qword [rcx]
call qword [rax + select]
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
lea rdx, [0x18007b110]
test r15, r15
cmovne rdx, r15
mov qword [rbp - 0x69], setsockopt
mov qword [rbp - 0x71], r12
mov byte [rsp + 0x28], 0
cmp byte [rdx], 0
jne 0x180013272
mov r8, r12
jmp 0x180013280
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x180013276
lea rcx, [rsp + 0x28]
call fcn.1800024c0
nop
mov qword [rbp - 0x49], setsockopt
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.180002390
nop
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x61]
call fcn.18001e3a0
test r15, r15
je 0x1800132cc
mov rcx, r15
call fcn.18004736c
nop
lea rcx, [rbp - 0x29]
call fcn.180002740
nop
mov rcx, qword [rbp - 1]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1800132ff
mov rax, qword [rcx]
call qword [rax + select]
jmp 0x1800132ff
lea rcx, str.string_too_long
call fcn.180047df8
nop
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.180046a00
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