Function at 0x402910
Capabilities:
Contain obfuscated stackstrings
Create http request
Download and write a file
Encode data using xor
Get http content length
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [0x40b040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x43c], 0x637b5014
mov esi, ecx
mov dword [ebp - 0x438], 0x757b787a
mov bl, 0x14
mov dword [ebp - 0x434], 0x64645570
mov byte [ebp - 0x430], 0
xor eax, eax
xor byte [ebp + eax - 0x43b], bl
inc eax
cmp eax, 0xb
jae 0x402968
mov bl, byte [ebp - 0x43c]
jmp 0x402953
push 0
push 0
push 0
push 1
lea eax, [ebp - 0x43b]
mov byte [ebp - 0x430], 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
mov dword [ebp - 0x46c], ebx
test ebx, ebx
jne 0x402a1b
movaps xmm0, xmmword [0x408880]
xor edx, edx
movups xmmword [ebp - 0x45c], xmm0
mov dword [ebp - 0x44c], 0x7e6b546f
mov dword [ebp - 0x448], 0x7a7d3b75
mov dword [ebp - 0x444], 0x7f7e7772
mov word [ebp - 0x440], 0x35
nop dword [eax + eax]
mov al, byte [ebp - 0x45c]
xor byte [ebp + edx - 0x45b], al
inc edx
cmp edx, 0x1c
jb 0x4029d0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea edx, [ebp - 0x45b]
mov byte [ebp - 0x43f], 0
call fcn.00406330
push 0x406550
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004069b7
mov esp, ebp
pop ebp
ret
push 0
push 0x80000000
push 0
push 0
push esi
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
mov dword [ebp - 0x468], esi
test esi, esi
jne 0x402ab2
movaps xmm0, xmmword [0x408650]
xor edx, edx
movups xmmword [ebp - 0x460], xmm0
mov byte [ebp - 0x440], al
movaps xmm0, xmmword [0x408850]
movups xmmword [ebp - 0x450], xmm0
nop
mov al, byte [ebp - 0x460]
xor byte [ebp + edx - 0x45f], al
inc edx
cmp edx, 0x1f
jb 0x402a60
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea edx, [ebp - 0x45f]
mov byte [ebp - 0x440], 0
call fcn.00406330
push 0x406550
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004069b7
mov esp, ebp
pop ebp
ret
xor ebx, ebx
mov dword [ebp - 0x40c], 0
push ebx
lea eax, [ebp - 0x414]
mov dword [ebp - 0x410], ebx
push eax
lea eax, [ebp - 0x410]
mov dword [ebp - 0x414], 4
push eax
push 0x20000005
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov dl, 0x74
mov byte [ebp - 0x421], bl
mov al, 3
mov byte [ebp - 0x424], dl
xor al, dl
mov cl, 0x16
mov byte [ebp - 0x423], al
xor cl, dl
lea eax, [ebp - 0x423]
mov byte [ebp - 0x422], cl
push eax
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edi, eax
add esp, 8
mov dword [ebp - 0x474], edi
test edi, edi
jne 0x402bcb
movaps xmm0, xmmword [0x408600]
xor edx, edx
movups xmmword [ebp - 0x464], xmm0
mov dword [ebp - 0x444], 0x56535c1a
movaps xmm0, xmmword [0x408700]
movups xmmword [ebp - 0x454], xmm0
mov word [ebp - 0x440], 0x145f
mov byte [ebp - 0x43e], bl
nop dword [eax]
nop word [eax + eax]
mov al, byte [ebp - 0x464]
xor byte [ebp + edx - 0x463], al
inc edx
cmp edx, 0x25
jb 0x402b70
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea edx, [ebp - 0x463]
mov byte [ebp - 0x43e], bl
call fcn.00406330
push 0x406550
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x46c]
call esi
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004069b7
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x40c]
push eax
push 0x400
lea eax, [ebp - 0x408]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x402daf
nop dword [eax]
mov eax, dword [ebp - 0x40c]
test eax, eax
je 0x402daf
push edi
push eax
lea eax, [ebp - 0x408]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add ebx, dword [ebp - 0x40c]
lea edx, [ebp - 0x417]
movd xmm0, dword [ebp - 0x410]
mov cl, 0x30
cvtdq2ps xmm0, xmm0
mov al, 0x6b
mov byte [ebp - 0x418], cl
add esp, 0x10
xor al, cl
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov byte [ebp - 0x416], 0
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
mov byte [ebp - 0x417], al
mov byte [ebp - 0x416], 0
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [ebp - 0x470], xmm1
mulss xmm0, dword [0x408508]
cvttss2si edi, xmm0
call fcn.00406330
xor esi, esi
cmp esi, edi
jge 0x402ca4
mov cl, 0xd
mov byte [ebp - 0x41a], 0
mov al, 0x30
mov byte [ebp - 0x41c], cl
xor al, cl
mov byte [ebp - 0x41a], 0
mov byte [ebp - 0x41b], al
lea edx, [ebp - 0x41b]
jmp 0x402cd3
jne 0x402cce
mov cl, 6
mov byte [ebp - 0x41e], 0
mov al, 0x38
mov byte [ebp - 0x420], cl
xor al, cl
mov byte [ebp - 0x41e], 0
mov byte [ebp - 0x41f], al
lea edx, [ebp - 0x41f]
jmp 0x402cd3
mov edx, 0x4083b8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00406330
inc esi
cmp esi, 0x32
jl 0x402c78
mov cl, 0x57
mov byte [ebp - 0x425], 0
mov dl, 0x77
mov byte [ebp - 0x428], cl
xor dl, cl
mov byte [ebp - 0x425], 0
mov al, 0xa
mov byte [ebp - 0x426], dl
xor al, cl
lea edx, [ebp - 0x427]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov byte [ebp - 0x427], al
call fcn.00406330
movss xmm0, dword [ebp - 0x470]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x408500]
cvttsd2si ecx, xmm0
push ecx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov ch, 0x62
mov byte [ebp - 0x429], 0
mov cl, 0x47
mov byte [ebp - 0x42c], ch
mov dl, 0x6f
mov byte [ebp - 0x429], 0
xor dl, ch
xor cl, ch
mov byte [ebp - 0x42b], cl
mov ecx, eax
mov byte [ebp - 0x42a], dl
lea edx, [ebp - 0x42b]
call fcn.00406330
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::flush_void_]
lea eax, [ebp - 0x40c]
push eax
push 0x400
lea eax, [ebp - 0x408]
push eax
push dword [ebp - 0x468]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [ebp - 0x474]
test eax, eax
jne 0x402bf0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x406550
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
movaps xmm0, xmmword [0x4087c0]
mov esi, eax
movups xmmword [ebp - 0x454], xmm0
mov dword [ebp - 0x444], 0x6b6a7b6a
xor ecx, ecx
mov word [ebp - 0x440], 0x2e
nop word [eax + eax]
mov al, byte [ebp - 0x454]
xor byte [ebp + ecx - 0x453], al
inc ecx
cmp ecx, 0x14
jb 0x402df0
lea edx, [ebp - 0x453]
mov byte [ebp - 0x43f], 0
mov ecx, esi
call fcn.00406330
push 0x406550
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 4
push dword [ebp - 0x468]
call esi
push dword [ebp - 0x46c]
call esi
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004069b7
mov esp, ebp
pop ebp
ret