Function at 0x10042070
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10091a25
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x100bb0a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x258], 0
cmp byte [0x100c6d57], 0
mov dword [ebp - 4], 1
je 0x10042107
cmp byte [0x100c6e1b], 0
jne 0x10042107
mov eax, dword [ebp + 0x1c]
cmp eax, 0x10
jb 0x100420d9
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.100024a0
mov eax, dword [ebp + 0x34]
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
cmp eax, 0x10
jb 0x10042100
inc eax
lea ecx, [ebp + 0x20]
push eax
push dword [ebp + 0x20]
call fcn.100024a0
mov al, 1
jmp 0x10042bb2
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x84], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xec]
movq qword [ebp - 0xdc], xmm0
movups xmmword [ebp - 0xec], xmm0
mov dword [ebp - 0xd4], 0
call fcn.10011f90
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push 7
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x34]
push str.appName
mov byte [ebp - 4], 3
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
call fcn.100023a0
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
mov byte [ebp - 0x1c], 0x2e
cmovae eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
push 1
mov byte [ebp - 4], 5
call fcn.1005063f
push ecx
mov ecx, esp
mov esi, eax
mov dword [ebp - 0x250], ecx
mov dword [ecx + 4], esi
mov ecx, esi
mov edx, dword [esi]
mov byte [ebp - 4], 6
call dword [edx + 4]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 7
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100421cc
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xec]
call fcn.100323c0
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 3
cmp eax, 0x10
jb 0x100421ff
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.100024a0
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push 0xa
cmovae eax, dword [ebp + 0x20]
lea ecx, [ebp - 0x34]
push str.appVersion
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
call fcn.100023a0
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
mov byte [ebp - 0x1c], 0x2e
cmovae eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
push 1
mov byte [ebp - 4], 9
call fcn.1005063f
push ecx
mov ecx, esp
mov esi, eax
mov dword [ebp - 0x250], ecx
mov dword [ecx + 4], esi
mov ecx, esi
mov edx, dword [esi]
mov byte [ebp - 4], 0xa
call dword [edx + 4]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 0xb
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10042280
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xec]
call fcn.100323c0
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x100422af
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.100024a0
push 0xb0
lea eax, [ebp - 0x19c]
push 0
push eax
call fcn.100643b0
add esp, 0xc
mov dword [ebp - 0x19c], 0x10097790
mov dword [ebp - 0x18c], 0x10097798
push 0
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x258], 1
push eax
lea ecx, [ebp - 0x134]
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 - 0x138], 0x50
movlpd qword [ebp - 0x194], xmm0
call fcn.10025880
lea eax, [ebp - 0x18c]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x18c]
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 - 0x18c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x190], eax
mov eax, dword [ebp - 0x19c]
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 - 0x19c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x1a0], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 4], 0x11
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 - 0x19c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1a0], eax
lea eax, [ebp - 0x184]
mov ecx, eax
mov dword [ebp - 0x250], 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 - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.100353f0
mov eax, dword [ebp - 0x38]
add esp, 0x10
mov byte [ebp - 4], 0x13
cmp eax, 0x10
jb 0x1004241e
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.100024a0
push 0x23
push str._sgep_v1_clientAgent_cloudApp_login
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
call fcn.100023a0
push str.Authorization:_Basic
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x15
call fcn.10001e60
sub esp, 0x18
mov byte [ebp - 4], 0x16
mov ecx, esp
push str.skyguard
call fcn.10001e60
lea eax, [ebp - 0x64]
push eax
call fcn.10045e50
add esp, 0x1c
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x17
call fcn.10002fa0
mov eax, dword [ebp - 0x50]
mov byte [ebp - 4], 0x16
cmp eax, 0x10
jb 0x100424ab
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.100024a0
push 2
push 0x10097978
lea ecx, [ebp - 0xd0]
call fcn.10003150
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x19c]
call fcn.1002a950
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x18
push ecx
lea ecx, [ebp - 0xd0]
push ecx
push eax
lea eax, [ebp - 0xb8]
push eax
push 0x100c6d74
push 0x100c6d5c
call fcn.10049a30
add esp, 0x18
test eax, eax
mov eax, dword [ebp - 0x50]
sete byte [ebp - 0x254]
cmp eax, 0x10
jb 0x10042516
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.100024a0
cmp byte [ebp - 0x254], 0
je 0x10042a7a
xor al, al
mov byte [0x100c6d57], 1
push 0xb0
mov dword [ebp - 0x258], eax
xor cl, cl
mov byte [ebp - 0x251], al
lea eax, [ebp - 0x24c]
push 0
push eax
mov byte [0x100c6e18], 1
mov byte [ebp - 0x252], cl
mov byte [ebp - 0x253], cl
mov byte [ebp - 4], 0x19
call fcn.100643b0
add esp, 0xc
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x24c]
push 1
push 3
push eax
call fcn.100122f0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xa0]
movq qword [ebp - 0x90], xmm0
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x88], 0
call fcn.10011f90
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.1000fc20
add esp, 8
lea ecx, [ebp - 0x6c]
push dword [ebp - 0x250]
push 0x2e
push str.sessionId
call fcn.100154a0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x1c
push eax
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0xa0]
call fcn.1000be60
push eax
mov ecx, 0x100c6d8c
call fcn.10038810
lea ecx, [ebp - 0x270]
call fcn.10002610
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x1b
call fcn.10002610
push dword [ebp - 0x250]
lea ecx, [ebp - 0x6c]
push 0x2e
push str.sessionToken
call fcn.100154a0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0xa0]
call fcn.1000be60
push eax
mov ecx, 0x100c6da4
call fcn.10038810
lea ecx, [ebp - 0x270]
call fcn.10002610
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x1b
call fcn.10002610
push dword [ebp - 0x250]
push 0x2e
push str.heartbeatInterval
lea ecx, [ebp - 0x278]
call fcn.100154a0
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [ebp - 0xa0]
call fcn.1002e4b0
lea ecx, [ebp - 0x278]
mov dword [0x100bb084], eax
mov byte [ebp - 4], 0x1b
call fcn.10002610
push dword [ebp - 0x250]
lea ecx, [ebp - 0x278]
push 0x2e
push str.isRepostTabChanged
call fcn.100154a0
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 0x1f
push eax
lea ecx, [ebp - 0xa0]
call fcn.1002e540
lea ecx, [ebp - 0x278]
mov byte [0x100c6e19], al
mov byte [ebp - 4], 0x1b
call fcn.10002610
push dword [ebp - 0x250]
lea ecx, [ebp - 0x278]
push 0x2e
push str.isRepostDownloadListChanged
call fcn.100154a0
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 0x20
push eax
lea ecx, [ebp - 0xa0]
call fcn.1002e540
lea ecx, [ebp - 0x278]
mov byte [0x100c6e1a], al
mov byte [ebp - 4], 0x1b
call fcn.10002610
push dword [ebp - 0x250]
lea ecx, [ebp - 0x278]
push 0x2e
push str.processId
call fcn.100154a0
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 0x21
push eax
lea ecx, [ebp - 0xa0]
call fcn.1002e4b0
lea ecx, [ebp - 0x278]
mov dword [0x100c6bdc], eax
mov byte [ebp - 4], 0x1b
call fcn.10002610
push dword [ebp - 0x250]
lea ecx, [ebp - 0x298]
push 0x2e
push str.addinNetworkFilterURL
call fcn.100154a0
lea eax, [ebp - 0x298]
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xa0]
call fcn.1000be60
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 0x24
call fcn.10002610
push 1
push 0xffffffffffffffff
push 0x10099a50
lea ecx, [ebp - 0x4c]
call fcn.1004be00
add eax, 0xfffffff9
lea ecx, [ebp - 0x4c]
push eax
push 7
lea eax, [ebp - 0x270]
push eax
call fcn.1002a970
push eax
mov ecx, 0x100c6de8
call fcn.10038810
lea ecx, [ebp - 0x270]
call fcn.10002610
push 1
push 0xffffffffffffffff
push 0x10098534
lea ecx, [ebp - 0x4c]
call fcn.1004be00
push 1
push 0xffffffffffffffff
push 0x10099a50
lea ecx, [ebp - 0x4c]
mov edi, eax
call fcn.1004be00
push 1
push 0xffffffffffffffff
push 0x10099a50
lea ecx, [ebp - 0x4c]
mov esi, eax
call fcn.1004be00
sub edi, esi
lea ecx, [ebp - 0x4c]
dec edi
inc eax
push edi
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.1002a970
push eax
mov ecx, 0x100c6e00
call fcn.10038810
lea ecx, [ebp - 0x64]
call fcn.10002610
push dword [ebp - 0x250]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x2e
push str.addinNetworkFilterChannel
lea ecx, [ebp - 0x2b8]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
call fcn.100154a0
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0x25
push eax
lea ecx, [ebp - 0xa0]
call fcn.10025330
push eax
lea ecx, [ebp - 0x30]
call fcn.10011e10
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x27
call fcn.10002610
mov eax, dword [ebp - 0x18]
lea edi, [eax + 9]
neg edi
sbb edi, edi
and edi, eax
mov edi, dword [edi + 4]
mov esi, dword [edi + 0x44]
lea eax, [esi - 0x40]
neg esi
sbb esi, esi
and esi, eax
cmp esi, edi
je 0x1004299c
lea eax, [ebp - 0x270]
push eax
lea ecx, [esi + 0x18]
call fcn.1000bf90
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x28
jb 0x100428dc
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x64]
call fcn.10001e60
mov eax, dword [ebp - 0x25c]
mov byte [ebp - 4], 0x27
cmp eax, 0x10
jb 0x10042907
inc eax
lea ecx, [ebp - 0x270]
push eax
push dword [ebp - 0x270]
call fcn.100024a0
lea eax, [ebp - 0x64]
push str.http
push eax
call fcn.100095f0
add esp, 8
test al, al
je 0x10042925
mov byte [ebp - 0x252], 1
jmp 0x10042973
lea eax, [ebp - 0x64]
push str.https
push eax
call fcn.100095f0
add esp, 8
test al, al
je 0x10042943
mov byte [ebp - 0x253], 1
jmp 0x10042973
lea eax, [ebp - 0x64]
push 0x1009a264
push eax
call fcn.100095f0
mov ecx, dword [ebp - 0x258]
add esp, 8
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0x258], ecx
mov byte [ebp - 0x251], cl
mov eax, dword [ebp - 0x50]
cmp eax, 0x10
jb 0x10042988
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.100024a0
test esi, esi
lea eax, [esi + 0x44]
mov ecx, 4
cmove eax, ecx
mov esi, dword [eax]
jmp 0x100428b0
lea ecx, [ebp - 0x30]
call fcn.10016870
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x100429b9
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.100024a0
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
call fcn.10016870
lea ecx, [ebp - 0x1e4]
call fcn.100169b0
lea eax, [ebp - 0x1e4]
mov byte [ebp - 4], 0x29
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10050a10
mov eax, dword [ebp - 0x258]
add esp, 4
jmp 0x10042a1d
cmp byte [0x100c6e1b], 0
mov cl, byte [ebp - 0x252]
mov byte [0x100c6e24], cl
mov cl, byte [ebp - 0x253]
mov dword [ebp - 4], 0x16
mov byte [0x100c6e25], cl
mov byte [0x100c6e26], al
jne 0x10042a73
push 0
push 0
push 0
push 0x1003a980
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x100c6e1c], eax
test eax, eax
jne 0x10042a73
push str.CreateThread_ThreadHeartbeat_failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x100c6e1b], 0
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.cloud_app_login:_n
call esi
cmp dword [ebp - 0x70], 0x10
lea eax, [ebp - 0x84]
cmovae eax, dword [ebp - 0x84]
push eax
call esi
mov eax, dword [ebp - 0xbc]
cmp eax, 0x10
jb 0x10042ab9
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.100024a0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
cmp eax, 0x10
jb 0x10042af2
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.100024a0
lea ecx, [ebp - 0x134]
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
call fcn.100169b0
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 0x2b
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10050a10
add esp, 4
lea ecx, [ebp - 0xec]
call fcn.10016870
mov eax, dword [ebp - 0x70]
cmp eax, 0x10
jb 0x10042b5b
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.100024a0
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x84], 0
cmp eax, 0x10
jb 0x10042b85
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.100024a0
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x10042bac
inc ecx
push ecx
push dword [ebp + 0x20]
lea ecx, [ebp + 0x20]
call fcn.100024a0
mov al, byte [ebp - 0x254]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1004eb8b
mov esp, ebp
pop ebp
ret