Function at 0x10040820
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100915b3
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 0x10040d27
cmp byte [0x100c6e19], 0
je 0x10040d27
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.10002270
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x74]
movq qword [ebp - 0x64], xmm0
movups xmmword [ebp - 0x74], xmm0
call fcn.10011f90
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.100154a0
lea eax, [ebp - 0x1c8]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x1ec]
push eax
lea ecx, [ebp - 0x74]
call fcn.10032330
mov eax, dword [ebp - 0x1d8]
cmp eax, 0x10
jb 0x10040924
inc eax
lea ecx, [ebp - 0x1ec]
push eax
push dword [ebp - 0x1ec]
call fcn.100024a0
push 0xb0
lea eax, [ebp - 0x124]
push 0
push eax
call fcn.100643b0
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.10025880
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.10012050
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.100353f0
mov eax, dword [ebp - 0x1d0]
add esp, 0x10
mov byte [ebp - 4], 0xb
cmp eax, 0x10
jb 0x10040aa5
inc eax
lea ecx, [ebp - 0x1e4]
push eax
push dword [ebp - 0x1e4]
call fcn.100024a0
push str._sgep_v1_clientAgent_cloudApp_currentTab
lea ecx, [ebp - 0x58]
call fcn.10001e60
push str.Authorization:_Basic
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.10001e60
lea eax, [ebp - 0x1e4]
mov byte [ebp - 4], 0xe
push eax
call fcn.10046220
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call fcn.10002fa0
mov eax, dword [ebp - 0x1d0]
mov byte [ebp - 4], 0xe
cmp eax, 0x10
jb 0x10040b09
inc eax
lea ecx, [ebp - 0x1e4]
push eax
push dword [ebp - 0x1e4]
call fcn.100024a0
push 2
push 0x10097978
lea ecx, [ebp - 0x28]
call fcn.10003150
lea eax, [ebp - 0x1e4]
push eax
lea ecx, [ebp - 0x124]
call fcn.1002a950
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.10049a30
add esp, 0x18
mov byte [ebp - 4], 0xe
test eax, eax
mov eax, dword [ebp - 0x1d0]
sete byte [ebp - 0x1c1]
cmp eax, 0x10
jb 0x10040b78
inc eax
lea ecx, [ebp - 0x1e4]
push eax
push dword [ebp - 0x1e4]
call fcn.100024a0
push 0x9c
lea eax, [ebp - 0x1c0]
push 0
push eax
call fcn.100643b0
add esp, 0xc
lea ecx, [ebp - 0x1c0]
push str.cloud_app_currentTab__s:__s
call fcn.100118d0
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.10020d00
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], 0x1000ae60
push eax
call fcn.1000bd80
lea ecx, [ebp - 0x1cc]
mov dword [ebp - 0x1d4], fcn.10020d00
mov dword [ebp - 0x1d8], ecx
lea ecx, [ebp - 0x1d8]
push ecx
push eax
mov dword [ebp - 0x1d0], 0x1000ae60
call fcn.1000bd80
add esp, 0x10
lea eax, [ebp - 0x1e4]
lea ecx, [ebp - 0x1c0]
push eax
call fcn.1002a400
cmp dword [eax + 0x14], 0x10
jb 0x10040c4a
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x1d0]
cmp eax, 0x10
jb 0x10040c6f
inc eax
lea ecx, [ebp - 0x1e4]
push eax
push dword [ebp - 0x1e4]
call fcn.100024a0
lea ecx, [ebp - 0x1c0]
call fcn.10016540
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10040c8f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.100024a0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x10040cb6
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.100024a0
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.100169b0
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0x12
push eax
mov dword [ebp - 0xbc], vtable.std::ios_base.0
call fcn.10050a10
add esp, 4
lea ecx, [ebp - 0x74]
call fcn.10016870
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x10040d0d
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.100024a0
mov al, byte [ebp - 0x1c1]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jmp 0x10040d2f
xor al, al
mov byte [ebp - 0x1c1], al
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x10040d4a
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.100024a0
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.1004eb8b
mov esp, ebp
pop ebp
ret