Function at 0x18003e9b0
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
push r13
push r14
push r15
sub rsp, 0x410
mov qword [r11 - 0x358], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r12
mov rax, qword [0x1800ba0e0]
xor rax, rsp
mov qword [rsp + 0x400], rax
xor r14d, r14d
mov dword [rsp + 0x38], r14d
mov qword [r11 - 0x2c8], 0xf
mov qword [r11 - 0x2d0], r14
mov byte [r11 - 0x2e0], r14b
xor eax, eax
mov qword [r11 - 0x298], rax
mov qword [r11 - 0x290], rax
mov qword [r11 - 0x278], rax
mov qword [r11 - 0x280], 0xf
mov qword [r11 - 0x288], r14
mov byte [rsp + 0x190], al
lea ecx, [rax + 0x20]
call fcn.18004b210
mov qword [rsp + 0xf8], rax
test rax, rax
je 0x18003ea67
lea r8, [rsp + 0x33]
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.180016ad0
jmp 0x18003ea6a
mov rax, r14
mov qword [rsp + 0x1b0], rax
lea rax, [0x1800c5b40]
cmp qword [0x1800c5b58], 0x10
cmovae rax, qword [0x1800c5b40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x130], SafeArrayGetLBound
mov qword [rsp + 0x128], r14
mov byte [rsp + 0x118], 0
mov r8d, 0xa
lea rdx, str.currentTab
lea rcx, [rsp + 0x118]
call fcn.1800025c0
mov byte [rsp + 0x138], 0x2e
lea rax, [rsp + 0x118]
cmp qword [rsp + 0x130], 0x10
cmovae rax, qword [rsp + 0x118]
mov qword [rsp + 0x140], rax
mov cl, 1
call fcn.18004cf28
mov rbx, rax
mov qword [rsp + 0x100], rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + select]
mov r13d, 1
test rax, rax
je 0x18003eb2b
mov r8, qword [rax]
mov edx, r13d
mov rcx, rax
call qword [r8]
nop
lea r9, [rsp + 0xf8]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x190]
call fcn.180034e00
nop
lea rcx, [rsp + 0x118]
call fcn.180002860
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x200]
call fcn.180050fe0
lea rax, [0x180088220]
mov qword [rsp + 0x200], rax
lea rax, [0x180088228]
mov qword [rsp + 0x210], rax
mov dword [rsp + 0x38], r13d
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x298], rax
mov dword [rsp + 0x294], 0x80
mov qword [rsp + 0x208], r14
xor r8d, r8d
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0x298]
call fcn.18002a4a0
nop
lea rax, [rsp + 0x210]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x210]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x210], rax
mov rax, qword [rsp + 0x210]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x20c], edx
mov rax, qword [rsp + 0x200]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x200], rax
mov rax, qword [rsp + 0x200]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x1fc], edx
mov rax, qword [rsp + 0x200]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x200], rax
mov rax, qword [rsp + 0x200]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x1fc], edx
lea rax, [rsp + 0x218]
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x218]
call fcn.180013530
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x218], rax
mov qword [rsp + 0x280], r14
mov dword [rsp + 0x288], r14d
mov qword [rsp + SafeArrayGetLBound0], 0xf
mov qword [rsp + 0xe8], r14
mov byte [rsp + 0xd8], 0
xor r9d, r9d
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x210]
call fcn.180036d90
nop
mov rax, qword [rsp + 0xf0]
cmp rax, 0x10
jb 0x18003ed4c
inc rax
mov rcx, qword [rsp + 0xd8]
cmp rax, 0x1000
jb 0x18003ed47
test cl, 0x1f
je 0x18003ed1a
call fcn.18005c7f4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18003ed29
call fcn.18005c7f4
int3
sub rcx, rax
cmp rcx, 8
jae 0x18003ed38
call fcn.18005c7f4
int3
cmp rcx, 0x27
jbe 0x18003ed44
call fcn.18005c7f4
int3
mov rcx, rax
call fcn.18004b054
mov qword [rsp + 0x1f0], SafeArrayGetLBound
mov qword [rsp + 0x1e8], r14
mov byte [rsp + 0x1d8], 0
mov r8d, 0x27
lea rdx, str._sgep_v1_clientAgent_cloudApp_heartbeat
lea rcx, [rsp + 0x1d8]
call fcn.1800025c0
nop
mov qword [rsp + 0x1d0], SafeArrayGetLBound
mov qword [rsp + 0x1c8], r14
mov byte [rsp + 0x1b8], 0
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.Authorization:_Basic
lea rcx, [rsp + 0x1b8]
call fcn.1800025c0
nop
lea rcx, [rsp + 0xd8]
call fcn.180042f50
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x1b8]
call fcn.1800031e0
nop
mov rax, qword [rsp + 0xf0]
cmp rax, 0x10
jb 0x18003ee3e
inc rax
mov rcx, qword [rsp + 0xd8]
cmp rax, 0x1000
jb 0x18003ee39
test cl, 0x1f
je 0x18003ee0c
call fcn.18005c7f4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18003ee1b
call fcn.18005c7f4
int3
sub rcx, rax
cmp rcx, 8
jae 0x18003ee2a
call fcn.18005c7f4
int3
cmp rcx, 0x27
jbe 0x18003ee36
call fcn.18005c7f4
int3
mov rcx, rax
call fcn.18004b054
mov r8d, 2
lea rdx, [0x180088480]
lea rcx, [rsp + 0x1b8]
call fcn.180003310
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x200]
call fcn.18002fec0
nop
lea rcx, [rsp + 0x148]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x1b8]
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8, [rsp + 0x1d8]
lea rdx, [0x1800c5ae0]
lea rcx, [0x1800c5ac0]
call fcn.1800462d0
mov ebx, eax
mov r8, qword [rsp + 0xf0]
cmp r8, 0x10
jb 0x18003eece
inc r8
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0xd8]
call fcn.180026b80
test ebx, ebx
sete dil
mov byte [rsp + 0x33], dil
test dil, dil
je 0x18003f5a9
mov byte [0x1800c5abc], 1
xor r15b, r15b
mov byte [rsp + 0x30], r15b
xor r12b, r12b
mov byte [rsp + 0x31], r12b
xor sil, sil
mov byte [rsp + 0x32], sil
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x300]
call fcn.180050fe0
lea rax, [0x180088220]
mov qword [rsp + 0x300], rax
lea rax, [0x180088228]
mov qword [rsp + 0x310], rax
lea rax, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x398], rax
mov dword [rsp + 0x38], SafeArrayGetLBound
xor r8d, r8d
lea rdx, [rsp + 0x318]
lea rcx, [rsp + 0x300]
call fcn.180013180
nop
mov rax, qword [rsp + 0x300]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x300], rax
mov rax, qword [rsp + 0x300]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x2fc], edx
lea rax, [rsp + 0x318]
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x318]
call fcn.180013530
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x318], rax
lea rdx, [rsp + 0x148]
cmp qword [rsp + 0x160], 0x10
cmovae rdx, qword [rsp + 0x148]
xor r9d, r9d
mov r8, qword [rsp + 0x158]
lea rcx, [rsp + 0x318]
call fcn.1800216d0
nop
xor eax, eax
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x188], rax
lea rcx, [rsp + 0x168]
call fcn.1800134b0
nop
mov qword [rsp + 0x110], SafeArrayGetLBound
mov qword [rsp + 0x108], r14
mov byte [rsp + 0xf8], sil
lea r8, [rsp + 0xf8]
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x300]
call fcn.180010f90
nop
lea rcx, [rsp + 0xf8]
call fcn.180002860
mov qword [rsp + 0x58], SafeArrayGetLBound
mov qword [rsp + 0x50], r14
mov byte [rsp + 0x40], sil
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.isRepostTabChanged
lea rcx, [rsp + 0x40]
call fcn.1800025c0
mov byte [rsp + 0x60], 0x2e
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rax, qword [rsp + 0x40]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x168]
call fcn.180029dd0
mov rcx, rax
call fcn.180033880
mov byte [0x1800c5abd], al
lea rcx, [rsp + 0x40]
call fcn.180002860
mov qword [rsp + 0x58], SafeArrayGetLBound
mov qword [rsp + 0x50], r14
mov byte [rsp + 0x40], sil
mov r8d, 0x1b
lea rdx, str.isRepostDownloadListChanged
lea rcx, [rsp + 0x40]
call fcn.1800025c0
mov byte [rsp + 0x60], 0x2e
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rax, qword [rsp + 0x40]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x168]
call fcn.180029dd0
mov rcx, rax
call fcn.180033880
mov byte [0x1800c5abe], al
lea rcx, [rsp + 0x40]
call fcn.180002860
mov qword [rsp + 0x88], SafeArrayGetLBound
mov qword [rsp + 0x80], r14
mov byte [rsp + 0x70], sil
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.addinNetworkFilterURL
lea rcx, [rsp + 0x70]
call fcn.1800025c0
mov byte [rsp + 0x90], 0x2e
lea rax, [rsp + 0x70]
cmp qword [rsp + 0x88], 0x10
cmovae rax, qword [rsp + 0x70]
mov qword [rsp + 0x98], rax
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x168]
call fcn.18000c750
nop
lea rcx, [rsp + 0x70]
call fcn.180002860
mov r9, r13
or r8, 0xffffffffffffffff
lea rdx, [0x18008ab4c]
lea rcx, [rsp + 0xd8]
call fcn.180048ed0
lea r9, [rax - 7]
mov r8d, 7
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0xd8]
call fcn.18004a550
mov rdx, rax
lea rcx, [0x1800c5b88]
call fcn.180019f90
lea rcx, [rsp + 0xf8]
call fcn.180002860
mov r9, r13
or r8, 0xffffffffffffffff
lea rdx, [0x18008c98c]
lea rcx, [rsp + 0xd8]
call fcn.180048ed0
mov rdi, rax
mov r9, r13
or r8, 0xffffffffffffffff
lea rdx, [0x18008ab4c]
lea rcx, [rsp + 0xd8]
call fcn.180048ed0
mov rbx, rax
mov r9, r13
or r8, 0xffffffffffffffff
lea rdx, [0x18008ab4c]
lea rcx, [rsp + 0xd8]
call fcn.180048ed0
sub rdi, rbx
dec rdi
lea r8, [rax + 1]
mov r9, rdi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xd8]
call fcn.18004a550
mov rdx, rax
lea rcx, [0x1800c5ba8]
call fcn.180019f90
lea rcx, [rsp + 0x40]
call fcn.180002860
xor eax, eax
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x138], rax
mov qword [rsp + 0xb8], SafeArrayGetLBound
mov qword [rsp + 0xb0], r14
mov byte [rsp + 0xa0], al
lea r8d, [rax + 0x19]
lea rdx, str.addinNetworkFilterChannel
lea rcx, [rsp + 0xa0]
call fcn.1800025c0
mov byte [rsp + 0xc0], 0x2e
lea rax, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 0x10
cmovae rax, qword [rsp + 0xa0]
mov qword [rsp + 0xc8], rax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x168]
call fcn.180029dd0
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.180013420
nop
lea rcx, [rsp + 0xa0]
call fcn.180002860
mov r14, qword [rsp + 0x138]
lea rax, [r14 + 0x11]
mov rdi, r14
test rax, rax
mov ecx, 0
cmove rdi, rcx
mov rdi, qword [rdi + 8]
mov rax, qword [rdi + 0x68]
lea rbx, [rax - 0x60]
test rax, rax
cmove rbx, rcx
nop dword [rax + rax]
cmp rbx, rdi
je 0x18003f4b3
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x40]
call fcn.18000c870
nop
cmp qword [rax + 0x18], 0x10
jb 0x18003f3c2
mov rax, qword [rax]
mov qword [rsp + 0x110], SafeArrayGetLBound
xor r14d, r14d
mov qword [rsp + 0x108], r14
mov byte [rsp + 0xf8], r14b
cmp byte [rax], r14b
jne 0x18003f3eb
mov r8d, r14d
jmp 0x18003f3f9
or r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r14b
jne 0x18003f3f0
mov rdx, rax
lea rcx, [rsp + 0xf8]
call fcn.1800025c0
nop
lea rcx, [rsp + 0x40]
call fcn.180002860
lea rdx, str.http
lea rcx, [rsp + 0xf8]
call fcn.180026450
test eax, eax
jne 0x18003f436
mov r15b, 1
mov byte [rsp + 0x30], r15b
jmp 0x18003f47b
lea rdx, str.https
lea rcx, [rsp + 0xf8]
call fcn.180026450
test eax, eax
jne 0x18003f458
mov r12b, 1
mov byte [rsp + 0x31], r12b
jmp 0x18003f47b
lea rdx, [0x18008cafc]
lea rcx, [rsp + 0xf8]
call fcn.180026450
movzx esi, sil
test eax, eax
cmove esi, r13d
mov byte [rsp + 0x32], sil
lea rcx, [rsp + 0xf8]
call fcn.180002860
lea rax, [rbx + 0x68]
test rbx, rbx
mov ecx, 8
cmove rax, rcx
mov rcx, qword [rax]
lea rbx, [rcx - 0x60]
test rcx, rcx
cmove rbx, r14
mov r14, qword [rsp + 0x138]
jmp 0x18003f3a0
test r14, r14
je 0x18003f4e0
lea rcx, [r14 + 0x11]
call fcn.180026e90
mov r8d, reloc.WS2_32.dll_WSASetLastError
mov rdx, r13
mov rcx, qword [r14 + 8]
call fcn.180020370
mov edx, 0x20
mov rcx, r14
call fcn.18004b24c
lea rcx, [rsp + 0x118]
call fcn.180002860
nop
lea rcx, [rsp + 0xd8]
call fcn.180002860
nop
mov rbx, qword [rsp + 0x188]
test rbx, rbx
je 0x18003f531
lea rcx, [rbx + 0x11]
call fcn.180026e90
mov r8d, reloc.WS2_32.dll_WSASetLastError
mov rdx, r13
mov rcx, qword [rbx + 8]
call fcn.180020370
mov edx, 0x20
mov rcx, rbx
call fcn.18004b24c
lea rcx, [rsp + 0x168]
call fcn.180002860
nop
lea rcx, [rsp + 0x398]
call fcn.1800187f0
nop
lea rbx, vtable.std::ios_base.0
mov qword [rsp + 0x398], rbx
lea rcx, [rsp + 0x398]
call fcn.18004d2e0
nop
jmp 0x18003f58a
mov byte [0x1800c5bd8], r15b
mov byte [0x1800c5bd9], r12b
mov byte [0x1800c5bda], sil
movzx edi, byte [rsp + 0x33]
jmp 0x18003f63a
mov byte [0x1800c5abc], 0
cmp ebx, 0x191
jne 0x18003f633
lea rcx, str.401_Unauthorized__just_relogin_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [0x1800c5abf], 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x40]
call fcn.180043fb0
mov rbx, rax
mov qword [rsp + 0xe8], r14
mov qword [rsp + 0xf0], r14
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.1800241d0
mov r8d, 2
lea rdx, [0x1800831b0]
lea rcx, [rsp + 0xd8]
call fcn.1800025c0
nop
mov rdx, rbx
lea rcx, [rsp + 0xd8]
call fcn.18003f730
lea rbx, vtable.std::ios_base.0
lea rcx, str.cloud_app_heartbeat:_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x148]
cmp qword [rsp + 0x160], 0x10
cmovae rcx, qword [rsp + 0x148]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
lea rcx, [rsp + 0x1b8]
call fcn.180002860
nop
lea rcx, [rsp + 0x1d8]
call fcn.180002860
nop
lea rcx, [rsp + 0x298]
call fcn.1800187f0
nop
mov qword [rsp + 0x298], rbx
lea rcx, [rsp + 0x298]
call fcn.18004d2e0
nop
mov rbx, qword [rsp + 0x1b0]
test rbx, rbx
je 0x18003f6dd
lea rcx, [rbx + 0x11]
call fcn.180026e90
mov r8d, reloc.WS2_32.dll_WSASetLastError
mov rdx, r13
mov rcx, qword [rbx + 8]
call fcn.180020370
mov edx, 0x20
mov rcx, rbx
call fcn.18004b24c
lea rcx, [rsp + 0x190]
call fcn.180002860
nop
lea rcx, [rsp + 0x148]
call fcn.180002860
movzx eax, dil
mov rcx, qword [rsp + 0x400]
xor rcx, rsp
call fcn.18004b0f0
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret