Function at 0x18003d9f0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x248]
sub rsp, 0x340
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1800ba0e0]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rdi, rcx
mov qword [rbp - 0x78], rcx
xor esi, esi
mov dword [rsp + 0x38], esi
cmp byte [0x1800c5abc], sil
je 0x18003dff9
cmp byte [0x1800c5abd], sil
je 0x18003dff9
mov qword [rbp + 0x10], SafeArrayGetLBound
mov qword [rbp + 8], rsi
mov byte [rbp - 8], sil
lea rbx, [0x1800c5b40]
cmp rbx, rcx
je 0x18003da7c
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rcx
mov rcx, rbx
call fcn.180002490
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x58], SafeArrayGetLBound
mov qword [rbp - 0x60], rsi
mov byte [rbp - 0x70], al
lea ecx, [rax + 0x20]
call fcn.18004b210
mov qword [rsp + 0x40], rax
test rax, rax
je 0x18003dabf
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.180016ad0
jmp 0x18003dac2
mov rax, rsi
mov qword [rbp - 0x50], rax
cmp qword [0x1800c5b58], 0x10
cmovae rbx, qword [0x1800c5b40]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x68], SafeArrayGetLBound
mov qword [rsp + 0x60], rsi
mov byte [rsp + 0x50], 0
mov r8d, 0xa
lea rdx, str.currentTab
lea rcx, [rsp + 0x50]
call fcn.1800025c0
mov byte [rsp + 0x70], 0x2e
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rax, qword [rsp + 0x50]
mov qword [rsp + 0x78], rax
mov cl, 1
call fcn.18004cf28
mov rbx, rax
mov qword [rsp + 0x48], 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]
test rax, rax
je 0x18003db56
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.180034e00
nop
lea rcx, [rsp + 0x50]
call fcn.180002860
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x20]
call fcn.180050fe0
lea rcx, [0x180000000]
lea rax, [rcx + 0x88220]
mov qword [rbp + 0x20], rax
lea rax, [rcx + 0x88228]
mov qword [rbp + 0x30], rax
mov dword [rsp + 0x38], 1
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + 0xb8], rax
mov dword [rbp + 0xb4], 0x80
mov qword [rbp + 0x28], rsi
xor r8d, r8d
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0xb8]
call fcn.18002a4a0
nop
lea rax, [rbp + 0x30]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x2c], edx
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x20], rax
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rbp + rcx + 0x1c], edx
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x20], rax
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x1c], edx
lea rax, [rbp + 0x38]
mov qword [rsp + 0x40], rax
lea rcx, [rbp + 0x38]
call fcn.180013530
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x38], rax
mov qword [rbp + 0xa0], rsi
mov dword [rbp + 0xa8], esi
mov qword [rsp + 0x68], SafeArrayGetLBound
mov qword [rsp + 0x60], rsi
mov byte [rsp + 0x50], 0
xor r9d, r9d
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x30]
call fcn.180036d90
nop
mov rax, qword [rsp + 0x68]
cmp rax, 0x10
jb 0x18003dd00
inc rax
mov rcx, qword [rsp + 0x50]
cmp rax, 0x1000
jb 0x18003dcfb
test cl, 0x1f
je 0x18003dcce
call fcn.18005c7f4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18003dcdd
call fcn.18005c7f4
int3
sub rcx, rax
cmp rcx, 8
jae 0x18003dcec
call fcn.18005c7f4
int3
cmp rcx, 0x27
jbe 0x18003dcf8
call fcn.18005c7f4
int3
mov rcx, rax
call fcn.18004b054
mov qword [rbp - 0x10], SafeArrayGetLBound
mov qword [rbp - 0x18], rsi
mov byte [rbp - 0x28], 0
mov r8d, 0x28
lea rdx, str._sgep_v1_clientAgent_cloudApp_currentTab
lea rcx, [rbp - 0x28]
call fcn.1800025c0
nop
mov qword [rbp - 0x30], SafeArrayGetLBound
mov qword [rbp - 0x38], rsi
mov byte [rbp - 0x48], 0
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.Authorization:_Basic
lea rcx, [rbp - 0x48]
call fcn.1800025c0
nop
lea rcx, [rsp + 0x50]
call fcn.180042f50
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.1800031e0
nop
mov rax, qword [rsp + 0x68]
cmp rax, 0x10
jb 0x18003ddc5
inc rax
mov rcx, qword [rsp + 0x50]
cmp rax, 0x1000
jb 0x18003ddc0
test cl, 0x1f
je 0x18003dd93
call fcn.18005c7f4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18003dda2
call fcn.18005c7f4
int3
sub rcx, rax
cmp rcx, 8
jae 0x18003ddb1
call fcn.18005c7f4
int3
cmp rcx, 0x27
jbe 0x18003ddbd
call fcn.18005c7f4
int3
mov rcx, rax
call fcn.18004b054
mov r8d, 2
lea rdx, [0x180088480]
lea rcx, [rbp - 0x48]
call fcn.180003310
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.18002fec0
nop
lea rcx, [rbp - 8]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8, [rbp - 0x28]
lea rdx, [0x1800c5ae0]
lea rcx, [0x1800c5ac0]
call fcn.1800462d0
test eax, eax
sete sil
lea rcx, [rsp + 0x50]
call fcn.180002860
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x120]
call fcn.180050fe0
lea rdx, str.cloud_app_currentTab__s:__s
lea rcx, [rbp + 0x120]
call fcn.180012ec0
nop
cmp qword [rdi + 0x18], 0x10
jb 0x18003de5a
mov rax, qword [rdi]
jmp 0x18003de5d
mov rax, rdi
mov qword [rsp + 0x40], rax
lea rcx, str.success
lea rax, str.failed
test sil, sil
cmovne rax, rcx
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x50], rax
lea rax, [fcn.180038600]
mov qword [rsp + 0x58], rax
lea rax, [0x18000b9b0]
mov qword [rsp + 0x60], rax
cmp byte [rbp + 0x164], 0
je 0x18003deb3
lea rcx, [rbp + 0x120]
call fcn.180025730
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x120]
call fcn.18000bd70
mov r8d, dword [rbp + 0x15c]
inc r8d
mov dword [rbp + 0x15c], r8d
cmp qword [rbp + 0x150], 0
je 0x18003df1d
mov r9d, dword [rbp + 0x160]
cmp r8d, r9d
jge 0x18003df1d
mov r10, qword [rbp + 0x138]
movsxd rcx, r8d
mov rax, rcx
shr rax, 5
lea rdx, [r10 + rax*4]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x18003df1d
inc r8d
mov dword [rbp + 0x15c], r8d
cmp r8d, r9d
jl 0x18003def2
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x120]
call fcn.18000c430
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x120]
call fcn.18002f7a0
cmp qword [rax + 0x18], 0x10
jb 0x18003df49
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x50]
call fcn.180002860
nop
lea rcx, [rbp + 0x120]
call fcn.1800182b0
nop
lea rcx, [rbp - 0x48]
call fcn.180002860
nop
lea rcx, [rbp - 0x28]
call fcn.180002860
nop
lea rcx, [rbp + 0xb8]
call fcn.1800187f0
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xb8], rax
lea rcx, [rbp + 0xb8]
call fcn.18004d2e0
nop
mov rbx, qword [rbp - 0x50]
test rbx, rbx
je 0x18003dfd7
lea rcx, [rbx + 0x11]
call fcn.180026e90
mov edx, 1
lea r8d, [rdx + 0x6f]
mov rcx, qword [rbx + 8]
call fcn.180020370
mov edx, 0x20
mov rcx, rbx
call fcn.18004b24c
lea rcx, [rbp - 0x70]
call fcn.180002860
nop
lea rcx, [rbp - 8]
call fcn.180002860
nop
mov rcx, rdi
call fcn.180002860
movzx eax, sil
jmp 0x18003e000
call fcn.180002860
xor al, al
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.18004b0f0
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret