Function at 0x180037780
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 [0x1800ad0e0]
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 [0x1800b88dc], sil
je 0x180037d89
cmp byte [0x1800b88dd], sil
je 0x180037d89
mov qword [rbp + 0x10], setsockopt
mov qword [rbp + 8], rsi
mov byte [rbp - 8], sil
lea rbx, [0x1800b8960]
cmp rbx, rcx
je 0x18003780c
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rcx
mov rcx, rbx
call fcn.180002390
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x58], setsockopt
mov qword [rbp - 0x60], rsi
mov byte [rbp - 0x70], al
lea ecx, [rax + 0x20]
call fcn.180046b20
mov qword [rsp + 0x40], rax
test rax, rax
je 0x18003784f
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.18002bc50
jmp 0x180037852
mov rax, rsi
mov qword [rbp - 0x50], rax
cmp qword [0x1800b8978], 0x10
cmovae rbx, qword [0x1800b8960]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x68], setsockopt
mov qword [rsp + 0x60], rsi
mov byte [rsp + 0x50], 0
mov r8d, 0xa
lea rdx, str.currentTab
lea rcx, [rsp + 0x50]
call fcn.1800024c0
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.180048848
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 0x1800378e6
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.1800263a0
nop
lea rcx, [rsp + 0x50]
call fcn.180002740
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x20]
call fcn.18004c910
lea rcx, [0x180000000]
lea rax, [rcx + 0x7ff28]
mov qword [rbp + 0x20], rax
lea rax, [rcx + 0x7ff30]
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.180019a80
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.18000d250
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], setsockopt
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.180028940
nop
mov rax, qword [rsp + 0x68]
cmp rax, 0x10
jb 0x180037a90
inc rax
mov rcx, qword [rsp + 0x50]
cmp rax, 0x1000
jb 0x180037a8b
test cl, 0x1f
je 0x180037a5e
call fcn.180057aec
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180037a6d
call fcn.180057aec
int3
sub rcx, rax
cmp rcx, 8
jae 0x180037a7c
call fcn.180057aec
int3
cmp rcx, 0x27
jbe 0x180037a88
call fcn.180057aec
int3
mov rcx, rax
call fcn.180046964
mov qword [rbp - 0x10], setsockopt
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.1800024c0
nop
mov qword [rbp - 0x30], setsockopt
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.1800024c0
nop
lea rcx, [rsp + 0x50]
call fcn.18003dbb0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.1800030c0
nop
mov rax, qword [rsp + 0x68]
cmp rax, 0x10
jb 0x180037b55
inc rax
mov rcx, qword [rsp + 0x50]
cmp rax, 0x1000
jb 0x180037b50
test cl, 0x1f
je 0x180037b23
call fcn.180057aec
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180037b32
call fcn.180057aec
int3
sub rcx, rax
cmp rcx, 8
jae 0x180037b41
call fcn.180057aec
int3
cmp rcx, 0x27
jbe 0x180037b4d
call fcn.180057aec
int3
mov rcx, rax
call fcn.180046964
mov r8d, 2
lea rdx, [0x18007c924]
lea rcx, [rbp - 0x48]
call fcn.1800031f0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.180045c00
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, [0x1800b8900]
lea rcx, [0x1800b88e0]
call fcn.180040ef0
test eax, eax
sete sil
lea rcx, [rsp + 0x50]
call fcn.180002740
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x120]
call fcn.18004c910
lea rdx, str.cloud_app_currentTab__s:__s
lea rcx, [rbp + 0x120]
call fcn.18000cdd0
nop
cmp qword [rdi + 0x18], 0x10
jb 0x180037bea
mov rax, qword [rdi]
jmp 0x180037bed
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.180009b40]
mov qword [rsp + 0x58], rax
lea rax, [0x180009b50]
mov qword [rsp + 0x60], rax
cmp byte [rbp + 0x164], 0
je 0x180037c43
lea rcx, [rbp + 0x120]
call fcn.180017030
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x120]
call fcn.180009b90
mov r8d, dword [rbp + 0x15c]
inc r8d
mov dword [rbp + 0x15c], r8d
cmp qword [rbp + 0x150], 0
je 0x180037cad
mov r9d, dword [rbp + 0x160]
cmp r8d, r9d
jge 0x180037cad
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 0x180037cad
inc r8d
mov dword [rbp + 0x15c], r8d
cmp r8d, r9d
jl 0x180037c82
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x120]
call fcn.1800221f0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x120]
call fcn.18001d5a0
cmp qword [rax + 0x18], 0x10
jb 0x180037cd9
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x50]
call fcn.180002740
nop
lea rcx, [rbp + 0x120]
call fcn.18000f5f0
nop
lea rcx, [rbp - 0x48]
call fcn.180002740
nop
lea rcx, [rbp - 0x28]
call fcn.180002740
nop
lea rcx, [rbp + 0xb8]
call fcn.18002ce80
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xb8], rax
lea rcx, [rbp + 0xb8]
call fcn.180048c00
nop
mov rbx, qword [rbp - 0x50]
test rbx, rbx
je 0x180037d67
lea rcx, [rbx + 0x11]
call fcn.18003a3b0
mov edx, 1
lea r8d, [rdx + 0x6f]
mov rcx, qword [rbx + 8]
call fcn.1800325c0
mov edx, 0x20
mov rcx, rbx
call fcn.18004736c
lea rcx, [rbp - 0x70]
call fcn.180002740
nop
lea rcx, [rbp - 8]
call fcn.180002740
nop
mov rcx, rdi
call fcn.180002740
movzx eax, sil
jmp 0x180037d90
call fcn.180002740
xor al, al
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.180046a00
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