Function at 0x4e7b20
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548d2a
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x570400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], 0
call fcn.00401bd0
cmp dword [edi + 0x64], 0xf
lea ecx, [edi + 0x50]
mov edx, eax
jbe 0x4e7b68
mov ecx, dword [ecx]
cmp dword [edi + 0x30], 0xf
lea esi, [edi + 0x1c]
mov eax, esi
jbe 0x4e7b75
mov eax, dword [esi]
push ecx
push eax
push str.perform_req_id:__s__stage:__s
push str.FBUploadStage
push edx
call fcn.00412dc0
add esp, 0x14
lea eax, [ebp - 0xc4]
mov ecx, edi
push eax
call fcn.004e71a0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movlpd qword [ebp - 0x1c], xmm0
push 0x40
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00545169
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x194]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x184], 0
push str.timestamp
movups xmmword [ebp - 0x194], xmm0
mov dword [ebp - 0x180], 0
call fcn.00403d10
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x1c]
call fcn.004ea690
lea ecx, [ebp - 0xac]
cmp eax, ecx
je 0x4e7c3d
cmp dword [ebp - 0x98], 0xf
push dword [ebp - 0x9c]
cmova ecx, dword [ebp - 0xac]
push ecx
mov ecx, eax
call fcn.00403070
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x180]
cmp ecx, 0xf
jbe 0x4e7c7d
mov edx, dword [ebp - 0x194]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4e7c73
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4e7c73
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005453ef
add esp, 8
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x184], 0
push str.access_token
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x180], 0
movups xmmword [ebp - 0x194], xmm0
call fcn.00403d10
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1c]
call fcn.004ea690
lea ecx, [ebp - 0x94]
cmp eax, ecx
je 0x4e7ce3
cmp dword [ebp - 0x80], 0xf
push dword [ebp - 0x84]
cmova ecx, dword [ebp - 0x94]
push ecx
mov ecx, eax
call fcn.00403070
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x180]
cmp ecx, 0xf
jbe 0x4e7d23
mov edx, dword [ebp - 0x194]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4e7d19
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4e7d19
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005453ef
add esp, 8
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x184], 0
push str.title
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x180], 0
movups xmmword [ebp - 0x194], xmm0
call fcn.00403d10
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x1c]
call fcn.004ea690
lea ecx, [ebp - 0x64]
cmp eax, ecx
je 0x4e7d80
cmp dword [ebp - 0x50], 0xf
push dword [ebp - 0x54]
cmova ecx, dword [ebp - 0x64]
push ecx
mov ecx, eax
call fcn.00403070
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x180]
cmp ecx, 0xf
jbe 0x4e7dc0
mov edx, dword [ebp - 0x194]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4e7db6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4e7db6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005453ef
add esp, 8
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x184], 0
push str.description
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x180], 0
movups xmmword [ebp - 0x194], xmm0
call fcn.00403d10
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1c]
call fcn.004ea690
lea ecx, [ebp - 0x4c]
cmp eax, ecx
je 0x4e7e1d
cmp dword [ebp - 0x38], 0xf
push dword [ebp - 0x3c]
cmova ecx, dword [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.00403070
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x180]
cmp ecx, 0xf
jbe 0x4e7e5d
mov edx, dword [ebp - 0x194]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4e7e53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4e7e53
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005453ef
add esp, 8
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x4e7eaa
call fcn.00401bd0
push str.No_network_connection__skip___
push str.FBUploadStage
push eax
call fcn.00412dc0
add esp, 0xc
lea ecx, [edi + 0x80]
push 0xa
push str.no_network
call fcn.00403070
mov byte [edi + 0x98], 0
jmp 0x4e8333
mov ecx, dword [ebp - 0x6c]
mov eax, bind
sub eax, ecx
cmp eax, 0x1b
jb 0x4e83ee
cmp dword [ebp - 0x68], 0xf
lea eax, [ebp - 0x7c]
push ecx
cmova eax, dword [ebp - 0x7c]
push eax
push 0x1b
push str.https:__graph.facebook.com_
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x194]
call fcn.00411c50
mov esi, 2
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x180]
mov eax, edx
mov ecx, dword [ebp - 0x184]
sub eax, ecx
push 7
push str._videos
cmp eax, 7
jb 0x4e7f3a
cmp edx, 0xf
lea esi, [ebp - 0x194]
lea eax, [ecx + 7]
cmova esi, dword [ebp - 0x194]
add esi, ecx
mov dword [ebp - 0x184], eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov byte [esi + 7], 0
lea eax, [ebp - 0x194]
add esp, 0xc
mov esi, 2
jmp 0x4e7f4a
push dword [ebp - 0x14]
lea ecx, [ebp - 0x194]
push 7
call fcn.00404000
movups xmm0, xmmword [eax]
or esi, 1
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x24], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x180]
cmp ecx, 0xf
jbe 0x4e7fb2
mov edx, dword [ebp - 0x194]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4e7fa8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4e7fa8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005453ef
add esp, 8
push 0xb8
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x184], 0
push 0
push eax
mov dword [ebp - 0x180], 0xf
mov byte [ebp - 0x194], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x17c], 0x5687fc
cmp dword [ebp - 0xb0], 0xf
lea esi, [ebp - 0xc4]
lea ecx, [ebp - 0x10c]
cmova esi, dword [ebp - 0xc4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 9
or dword [ebp - 0x14], 4
lea ecx, [ebp - 0x17c]
push eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x17c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x17c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x180], eax
lea ecx, [ebp - 0x16c]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea ecx, [ebp - 0x16c]
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0x124], 0
mov byte [ebp - 0x12f], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x573184]
mov ecx, dword [0x573188]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x134], 0
push 0x40
push 0x25
push esi
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0xb
call fcn.00413b20
test eax, eax
jne 0x4e80e6
mov eax, dword [ebp - 0x17c]
lea ecx, [ebp - 0x17c]
push 0
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov eax, dword [ebp - 0x17c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x17c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x180], eax
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x17c]
call dword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov ecx, dword [eax + 8]
add ecx, dword [eax]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x16c]
call fcn.00413a90
test eax, eax
jne 0x4e8154
mov eax, dword [ebp - 0x17c]
lea ecx, [ebp - 0x17c]
push 0
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov esi, 3
nop dword [eax]
sub esp, 0x18
lea eax, [ebp - 0xc4]
cmp dword [ebp - 0x14], 0x6300000
mov ecx, esp
jle 0x4e81f1
mov dword [ebp - 0x198], esp
push eax
call fcn.004029c0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x1c]
push dword [ebp - 0x14]
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x1a4], esp
push eax
call fcn.004ea6b0
sub esp, 0x18
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x1a8], esp
mov ecx, esp
push eax
call fcn.004029c0
sub esp, 0x18
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x94]
mov dword [ebp - 0x1ac], esp
mov ecx, esp
push eax
call fcn.004029c0
sub esp, 0x18
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.004029c0
mov ecx, edi
mov byte [ebp - 4], 0xc
call fcn.004e84c0
jmp 0x4e8265
mov dword [ebp - 0x19c], esp
push eax
call fcn.004029c0
sub esp, 8
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1ac], esp
mov ecx, esp
push eax
call fcn.004ea6b0
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x1a8], esp
mov ecx, esp
push eax
call fcn.004029c0
sub esp, 0x18
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x94]
mov dword [ebp - 0x1a4], esp
mov ecx, esp
push eax
call fcn.004029c0
sub esp, 0x18
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.004029c0
mov ecx, edi
mov byte [ebp - 4], 0xc
call fcn.004e9f50
dec esi
cmp byte [edi + 0x98], 0
jne 0x4e8279
test esi, esi
jg 0x4e8160
jmp 0x4e82b0
call fcn.00401bd0
push str.Upload_success__wait_50_seconds_then_go_next_stage
push str.FBUploadStage
push eax
call fcn.00412dc0
add esp, 0xc
mov dword [ebp - 0x1a0], 0x32
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x19c], 0
call fcn.004e41e0
cmp byte [edi + 0x98], 0
jne 0x4e82c0
mov dword [edi + 0x4c], 1
call fcn.00401bd0
cmp dword [edi + 0x30], 0xf
lea esi, [edi + 0x1c]
movzx edx, byte [edi + 0x98]
mov ecx, esi
jbe 0x4e82d9
mov ecx, dword [esi]
push edx
push ecx
push str.perform_req_id:__s_DONE__status:__d
push str.FBUploadStage
push eax
call fcn.00412dc0
add esp, 0x14
lea ecx, [ebp - 0x17c]
call fcn.004e8400
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x4e8333
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4e8329
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4e8329
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005453ef
add esp, 8
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x573024]
cmp eax, dword [ecx + 4]
jle 0x4e8393
push 0x573024
call fcn.00545105
add esp, 4
cmp dword [0x573024], 0xffffffff
jne 0x4e8393
push 0x6c
push 0
push 0x573028
mov byte [ebp - 4], 0x15
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call fcn.0040f7e0
push 0x5493b0
call fcn.005453d5
push 0x573024
mov byte [ebp - 4], 1
call fcn.005450b4
add esp, 8
sub esp, 0x7c
mov ecx, esp
push esi
call fcn.00412030
mov ecx, 0x573028
call fcn.0040ffd0
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
mov ecx, eax
call fcn.00412c10
push 0x40
push dword [ebp - 0x1c]
call fcn.005453ef
add esp, 8
lea ecx, [ebp - 0xc4]
call fcn.004e7940
xor eax, eax
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.0054507b
mov esp, ebp
pop ebp
ret
call fcn.00401220
int3