Function at 0x618ad0
Capabilities:
Check for peb ntglobalflag flag
Encode data using xor
Initialize winsock library
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b1d42
mov eax, dword fs:[0]
push eax
sub esp, 0x3a8
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x290], ebx
xor eax, eax
mov dword [ebp - 0x28c], 0
push 0x6c
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
push str.Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_30.0.1599.69_Safari_537.36
mov word [ebx], ax
call fcn.004044f0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov word [ebx + 0x24], ax
mov byte [ebx + 0x26], 1
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x64], eax
mov byte [ebp - 4], 3
lea ecx, [ebx + 0x70]
mov dword [ebx + 0x68], eax
call fcn.0042bc20
xor eax, eax
mov dword [ebx + 0xd8], 0
mov dword [ebx + 0xdc], 7
mov word [ebx + 0xc8], ax
mov byte [ebp - 4], 5
mov word [ebx + 0xe0], 0x100
cmp byte [0x83dc6c], al
jne 0x618f88
lea eax, [ebp - 0x250]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0xb0
mov esi, eax
lea eax, [ebp - 0xc0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xc0], 0x7d4f80
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xb0], 0x7d5218
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
test esi, esi
je 0x618da1
push 0
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x28c], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable..7.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0xa8], 0x7c6164
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 8
xor ecx, ecx
mov dword [ebp - 0x27c], 0x13
mov dword [ebp - 0x278], 0xea00ef
mov dword [ebp - 0x274], 0xe800fb
mov dword [ebp - 0x270], 0xdc00c8
mov dword [ebp - 0x26c], 0xcb00cc
mov dword [ebp - 0x268], 0xb100b5
mov dword [ebp - 0x264], 0xa500e2
mov dword [ebp - 0x260], 0xac00a5
mov dword [ebp - 0x25c], 0xa200aa
mov dword [ebp - 0x258], 0xf300ac
mov dword [ebp - 0x254], 0xcb00ea
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x278], ax
inc ecx
mov eax, dword [ebp - 0x27c]
cmp ecx, eax
jb 0x618cf0
xor ecx, ecx
mov word [ebp + eax*2 - 0x278], cx
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00404740
add esp, 8
mov ecx, eax
push esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
call fcn.00434600
mov edi, eax
lea eax, [ebp - 0x320]
push eax
call fcn.006190e0
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x3b4]
push eax
call fcn.00618fb0
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0xc0]
push ecx
push esi
push 0x33
push eax
push 0
mov ecx, edi
call fcn.00469240
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable..7.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
jmp 0x618f61
push 0
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x28c], 2
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable..7.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0xa8], 0x7c6164
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 0xb
xor eax, eax
mov dword [ebp - 0x288], 0x19
mov dword [ebp - 0x284], 0xd000ef
mov dword [ebp - 0x280], 0xe800d4
mov dword [ebp - 0x27c], 0xde00d3
mov dword [ebp - 0x278], 0x9f00d5
mov dword [ebp - 0x274], 0xaf00a9
mov dword [ebp - 0x270], 0xb700ab
mov dword [ebp - 0x26c], 0xaa00e4
mov dword [ebp - 0x268], 0xeb00ad
mov dword [ebp - 0x264], 0xbf00e8
mov dword [ebp - 0x260], 0xb900af
mov dword [ebp - 0x25c], 0xa400bf
mov dword [ebp - 0x258], 0xa100a1
mov dword [ebp - 0x254], 0xd100f0
nop dword [eax + eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x284], cx
inc eax
mov ecx, dword [ebp - 0x288]
cmp eax, ecx
jb 0x618eb0
xor eax, eax
mov word [ebp + ecx*2 - 0x284], ax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00404740
add esp, 8
mov ecx, eax
push dword [ebp - 0x250]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int_]
call fcn.00434600
mov edi, eax
lea eax, [ebp - 0x320]
push eax
call fcn.00619200
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x3b4]
push eax
call fcn.00618fb0
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0xc0]
push ecx
push esi
push 0x35
push eax
push 1
mov ecx, edi
call fcn.00469240
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable..7.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xa8]
call fcn.004073e0
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov byte [0x83dc6c], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret