Function at 0x10031ce0
Capabilities:
Check http status code
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100660da
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x100850a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x94]
movq qword [ebp - 0x84], xmm0
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x7c], 0
call fcn.10024730
cmp dword [0x1008fc54], 0x10
lea ecx, [ebp - 0x30]
mov eax, 0x1008fc40
mov byte [ebp - 4], 1
cmovae eax, dword [0x1008fc40]
push 0xa
push str.currentTab
mov dword [ebp - 0x200], eax
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
call fcn.10013d70
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
mov byte [ebp - 0x18], 0x2e
cmovae eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
push 1
mov byte [ebp - 4], 3
call fcn.1003d8b3
push ecx
mov ecx, esp
mov esi, eax
mov dword [ebp - 0x1fc], ecx
mov dword [ecx + 4], esi
mov ecx, esi
mov edx, dword [esi]
mov byte [ebp - 4], 4
call dword [edx + 4]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 5
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10031de1
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
lea eax, [ebp - 0x200]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x94]
call fcn.10021ed0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x10031e10
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.10014b60
push 0xb0
lea eax, [ebp - 0x144]
push 0
push eax
call fcn.100415b0
add esp, 0xc
mov dword [ebp - 0x144], 0x1006af24
mov dword [ebp - 0x134], 0x1006af2c
push 0
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 6
xorps xmm0, xmm0
mov dword [ebp - 0x200], 1
push eax
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xdc], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0xe0], 0x50
movlpd qword [ebp - 0x13c], xmm0
call fcn.10016340
lea eax, [ebp - 0x134]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x134]
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 - 0x134]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x138], eax
mov eax, dword [ebp - 0x144]
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 - 0x144]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x148], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 4], 0xb
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 - 0x144]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x148], eax
lea eax, [ebp - 0x12c]
mov ecx, eax
mov dword [ebp - 0x1fc], eax
call fcn.1000cab0
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 - 0xf4], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0x204], 0xf
mov dword [ebp - 0x208], 0
mov byte [ebp - 0x218], 0
push 0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.10023e60
mov eax, dword [ebp - 0x204]
add esp, 0x10
mov byte [ebp - 4], 0xd
cmp eax, 0x10
jb 0x10031f94
inc eax
lea ecx, [ebp - 0x218]
push eax
push dword [ebp - 0x218]
call fcn.10014b60
push 0x27
push str._sgep_v1_clientAgent_cloudApp_heartbeat
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
call fcn.10013d70
push 0x15
push str.Authorization:_Basic
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
call fcn.10013d70
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0x10
push eax
call fcn.100363c0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x11
call fcn.10002450
mov eax, dword [ebp - 0x204]
mov byte [ebp - 4], 0x10
cmp eax, 0x10
jb 0x10032020
inc eax
lea ecx, [ebp - 0x218]
push eax
push dword [ebp - 0x218]
call fcn.10014b60
push 2
push 0x1006b008
lea ecx, [ebp - 0x60]
call fcn.10002600
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x144]
call fcn.1003b310
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x12
push ecx
lea ecx, [ebp - 0x60]
push ecx
push eax
lea eax, [ebp - 0x78]
push eax
push 0x1008fbf8
push 0x1008fbe0
call fcn.10038060
mov ecx, dword [ebp - 0x204]
add esp, 0x18
mov byte [ebp - 4], 0x10
mov edi, eax
cmp ecx, 0x10
jb 0x10032088
inc ecx
push ecx
push dword [ebp - 0x218]
lea ecx, [ebp - 0x218]
call fcn.10014b60
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test edi, edi
sete al
mov byte [ebp - 0x1f5], al
test al, al
je 0x10032324
push 0xb0
lea eax, [ebp - 0x1f4]
mov byte [0x1008fc59], 1
push 0
push eax
call fcn.100415b0
add esp, 0xc
mov dword [ebp - 0x1f4], 0x1006af24
mov dword [ebp - 0x1e4], 0x1006af2c
push 0
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x200], 0x11
push eax
lea ecx, [ebp - 0x18c]
mov dword [ebp - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x190], 0x50
movlpd qword [ebp - 0x1ec], xmm0
call fcn.10016340
lea eax, [ebp - 0x1e4]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x1e4]
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 - 0x1e4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x1e8], eax
mov eax, dword [ebp - 0x1f4]
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 - 0x1f4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x1f8], eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 4], 0x18
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 - 0x1f4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1f8], eax
lea eax, [ebp - 0x1dc]
mov ecx, eax
mov dword [ebp - 0x1fc], eax
call fcn.1000cab0
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
push 0
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x1dc]
push eax
mov byte [ebp - 4], 0x19
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
call fcn.1002eb70
xorps xmm0, xmm0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x1c], xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x14], 0
call fcn.10024730
mov dword [ebp - 0x204], 0xf
mov dword [ebp - 0x208], 0
mov byte [ebp - 0x218], 0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0x1c
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1f4]
push eax
call fcn.10022330
mov eax, dword [ebp - 0x204]
add esp, 0xc
mov byte [ebp - 4], 0x1b
cmp eax, 0x10
jb 0x10032252
inc eax
lea ecx, [ebp - 0x218]
push eax
push dword [ebp - 0x218]
call fcn.10014b60
push dword [ebp - 0x1fc]
lea ecx, [ebp - 0x220]
push 0x2e
push str.isRepostTabChanged
call fcn.10027480
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x2c]
call fcn.1001e8e0
mov byte [0x1008fc5a], al
mov eax, dword [ebp - 0x20c]
mov byte [ebp - 4], 0x1b
cmp eax, 0x10
jb 0x100322a4
inc eax
lea ecx, [ebp - 0x220]
push eax
push dword [ebp - 0x220]
call fcn.10014b60
push dword [ebp - 0x1fc]
lea ecx, [ebp - 0x220]
push 0x2e
push str.isRepostDownloadListChanged
call fcn.10027480
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [ebp - 0x2c]
call fcn.1001e8e0
mov byte [0x1008fc5b], al
mov eax, dword [ebp - 0x20c]
cmp eax, 0x10
jb 0x100322f2
inc eax
lea ecx, [ebp - 0x220]
push eax
push dword [ebp - 0x220]
call fcn.10014b60
lea ecx, [ebp - 0x2c]
call fcn.10028200
lea ecx, [ebp - 0x18c]
call fcn.10028410
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0x1f
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1003db7d
add esp, 4
jmp 0x10032371
mov byte [0x1008fc59], 0
cmp edi, 0x191
jne 0x10032371
push str.401_Unauthorized__just_relogin_n
call esi
sub esp, 0x18
mov byte [0x1008fc5c], 1
mov eax, esp
mov dword [ebp - 0x1fc], esp
push eax
call fcn.10036c40
sub esp, 0x14
mov byte [ebp - 4], 0x20
mov ecx, esp
push 0x1006a338
call fcn.10024a00
mov byte [ebp - 4], 0x10
call fcn.10032440
add esp, 0x30
push str.cloud_app_heartbeat:_n
call esi
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call esi
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x1003239b
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.10014b60
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
cmp eax, 0x10
jb 0x100323c2
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.10014b60
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
call fcn.10028410
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0x21
push eax
mov dword [ebp - 0xdc], vtable.std::ios_base.0
call fcn.1003db7d
add esp, 4
lea ecx, [ebp - 0x94]
call fcn.10028200
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x1003241c
inc ecx
push ecx
push dword [ebp - 0x48]
lea ecx, [ebp - 0x48]
call fcn.10014b60
mov al, byte [ebp - 0x1f5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003beb5
mov esp, ebp
pop ebp
ret