Function at 0x10040980
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10091663
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x100bb0a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c8], 0
cmp byte [0x100c6e18], 0
mov dword [ebp - 4], 0
je 0x10040e87
cmp byte [0x100c6e19], 0
je 0x10040e87
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
mov esi, 0x100c6dbc
push eax
mov ecx, esi
call fcn.10002210
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x74]
movq qword [ebp - 0x64], xmm0
movups xmmword [ebp - 0x74], xmm0
call fcn.10012270
push dword [ebp - 0x1cc]
cmp dword [0x100c6dd0], 0x10
lea ecx, [ebp - 0x1ec]
push 0x2e
cmovae esi, dword [0x100c6dbc]
push str.currentTab
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c8], esi
call fcn.100156f0
lea eax, [ebp - 0x1c8]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x1ec]
push eax
lea ecx, [ebp - 0x74]
call fcn.100324e0
mov eax, dword [ebp - 0x1d8]
cmp eax, 0x10
jb 0x10040a84
inc eax
lea ecx, [ebp - 0x1ec]
push eax
push dword [ebp - 0x1ec]
call fcn.10002440
push 0xb0
lea eax, [ebp - 0x124]
push 0
push eax
call fcn.10064410
add esp, 0xc
mov dword [ebp - 0x124], 0x10097790
mov dword [ebp - 0x114], 0x10097798
push 0
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 4
xorps xmm0, xmm0
mov dword [ebp - 0x1c8], 1
push eax
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xbc], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0xc0], 0x50
movlpd qword [ebp - 0x11c], xmm0
call fcn.10025cd0
lea eax, [ebp - 0x114]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x114]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x118], eax
mov eax, dword [ebp - 0x124]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x128], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 4], 9
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x128], eax
lea eax, [ebp - 0x10c]
mov ecx, eax
mov dword [ebp - 0x1cc], eax
call fcn.10012330
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0x1d0], 0xf
mov dword [ebp - 0x1d4], 0
mov byte [ebp - 0x1e4], 0
push 0
lea eax, [ebp - 0x1e4]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.100355a0
mov eax, dword [ebp - 0x1d0]
add esp, 0x10
mov byte [ebp - 4], 0xb
cmp eax, 0x10
jb 0x10040c05
inc eax
lea ecx, [ebp - 0x1e4]
push eax
push dword [ebp - 0x1e4]
call fcn.10002440
push str._sgep_v1_clientAgent_cloudApp_currentTab
lea ecx, [ebp - 0x58]
call fcn.10001e70
push str.Authorization:_Basic
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.10001e70
lea eax, [ebp - 0x1e4]
mov byte [ebp - 4], 0xe
push eax
call fcn.10046300
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call fcn.10002f40
mov eax, dword [ebp - 0x1d0]
mov byte [ebp - 4], 0xe
cmp eax, 0x10
jb 0x10040c69
inc eax
lea ecx, [ebp - 0x1e4]
push eax
push dword [ebp - 0x1e4]
call fcn.10002440
push 2
push 0x10097978
lea ecx, [ebp - 0x28]
call fcn.100030f0
lea eax, [ebp - 0x1e4]
push eax
lea ecx, [ebp - 0x124]
call fcn.1002adb0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x10
push ecx
lea ecx, [ebp - 0x28]
push ecx
push eax
lea eax, [ebp - 0x58]
push eax
push 0x100c6d74
push 0x100c6d5c
call fcn.10049b10
add esp, 0x18
mov byte [ebp - 4], 0xe
test eax, eax
mov eax, dword [ebp - 0x1d0]
sete byte [ebp - 0x1c1]
cmp eax, 0x10
jb 0x10040cd8
inc eax
lea ecx, [ebp - 0x1e4]
push eax
push dword [ebp - 0x1e4]
call fcn.10002440
push 0x9c
lea eax, [ebp - 0x1c0]
push 0
push eax
call fcn.10064410
add esp, 0xc
lea ecx, [ebp - 0x1c0]
push str.cloud_app_currentTab__s:__s
call fcn.10011bb0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov ecx, str.failed
mov byte [ebp - 4], 0x11
cmovae eax, dword [ebp + 8]
cmp byte [ebp - 0x1c1], 0
mov dword [ebp - 0x1cc], eax
mov eax, str.success
cmove eax, ecx
mov dword [ebp - 0x1d4], fcn.1002a7d0
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 0x1c8]
mov dword [ebp - 0x1d8], eax
lea eax, [ebp - 0x1d8]
push eax
lea eax, [ebp - 0x1c0]
mov dword [ebp - 0x1d0], 0x1000b140
push eax
call fcn.1000c060
lea ecx, [ebp - 0x1cc]
mov dword [ebp - 0x1d4], fcn.1002a7d0
mov dword [ebp - 0x1d8], ecx
lea ecx, [ebp - 0x1d8]
push ecx
push eax
mov dword [ebp - 0x1d0], 0x1000b140
call fcn.1000c060
add esp, 0x10
lea eax, [ebp - 0x1e4]
lea ecx, [ebp - 0x1c0]
push eax
call fcn.1002a860
cmp dword [eax + 0x14], 0x10
jb 0x10040daa
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x1d0]
cmp eax, 0x10
jb 0x10040dcf
inc eax
lea ecx, [ebp - 0x1e4]
push eax
push dword [ebp - 0x1e4]
call fcn.10002440
lea ecx, [ebp - 0x1c0]
call fcn.10016790
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10040def
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10002440
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x10040e16
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.10002440
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.10016c40
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0x12
push eax
mov dword [ebp - 0xbc], vtable.std::ios_base.0
call fcn.10050a84
add esp, 4
lea ecx, [ebp - 0x74]
call fcn.10016ac0
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x10040e6d
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10002440
mov al, byte [ebp - 0x1c1]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jmp 0x10040e8f
xor al, al
mov byte [ebp - 0x1c1], al
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x10040eaa
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.10002440
mov al, byte [ebp - 0x1c1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004ebbb
mov esp, ebp
pop ebp
ret