Function at 0x140004f80
Capabilities:
Contain obfuscated stackstrings
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov rax, qword [0x140152040]
xor rax, rsp
mov qword [rbp + 0x400], rax
mov rbx, rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov qword [rbp - 0x70], r15
lea rax, [0x1401520b8]
mov qword [rbp - 0x68], rax
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x48]
call fcn.140003110
mov dword [rsp + 0x30], 1
cmp dword [rbp - 0x70], r15d
jne 0x1400057ff
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rax, qword [rsp + 0x48]
mov qword [rbp - 0x70], rax
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x68], rax
call fcn.14005846c
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rbp - 0x28]
call fcn.140007dd0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14000506f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000506a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000506a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058ef8
movdqa xmm0, xmmword [0x140146540]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r15w
mov dword [rsp + 0x30], 0x2e734d33
mov dword [rsp + 0x34], 0x6e6962
lea rax, [rsp + 0x31]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400050a0
lea rdx, [rsp + 0x31]
lea rcx, [rbp - 0x28]
call fcn.140007470
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x48]
call fcn.140005d40
nop
cmp qword [rbp - 0x38], 0
jne 0x14000513d
mov dword [rsp + 0x30], 0x72724525
mov word [rsp + 0x34], 0x726f
mov byte [rsp + 0x36], 0
movdqa xmm0, xmmword [0x140146910]
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x140146980]
movdqu xmmword [rsp + 0x58], xmm1
movdqa xmm0, xmmword [0x140146950]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x78], 0x2e59
mov byte [rsp + 0x7a], 0
mov r9d, 0x10
lea r8, [rsp + 0x31]
lea rdx, [rsp + 0x49]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x14016b3b0], r15d
xor bl, bl
jmp 0x140005744
mov dword [rbp - 0x70], 0x41794d71
mov dword [rbp - 0x6c], 0x746e6567
mov byte [rbp - 0x68], 0
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rbp - 0x6f]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
test rax, rax
jne 0x140005326
mov cl, 0x23
mov word [rbp - 0x70], 0x23
movsx ecx, cl
movzx eax, cx
xor ax, 0x66
mov word [rbp - 0x6e], ax
movzx eax, cx
xor ax, 0x51
mov word [rbp - 0x6c], ax
mov word [rbp - 0x6a], ax
xor cx, 0x4c
mov word [rbp - 0x68], cx
mov word [rbp - 0x66], ax
mov word [rbp - 0x64], r15w
mov cl, 0x20
mov word [rsp + 0x48], 0x20
movsx ebx, cl
movzx eax, bx
xor ax, 0x66
mov word [rsp + 0x4a], ax
movzx r9d, bx
xor r9w, 0x41
mov word [rsp + 0x4c], r9w
movzx r11d, bx
xor r11w, 0x49
mov word [rsp + 0x4e], r11w
movzx edx, bx
xor dx, 0x4c
mov word [rsp + 0x50], dx
movzx r10d, bx
xor r10w, 0x45
mov word [rsp + 0x52], r10w
movzx eax, bx
xor ax, 0x44
mov word [rsp + 0x54], ax
mov word [rsp + 0x56], bx
movzx r8d, bx
xor r8w, 0x54
mov word [rsp + 0x58], r8w
movzx eax, bx
xor ax, 0x4f
mov word [rsp + 0x5a], ax
mov word [rsp + 0x5c], bx
mov word [rsp + 0x5e], r11w
movzx ecx, bx
xor cx, 0x4e
mov word [rsp + 0x60], cx
mov word [rsp + 0x62], r11w
mov word [rsp + 0x64], r8w
mov word [rsp + 0x66], r11w
mov word [rsp + 0x68], r9w
mov word [rsp + 0x6a], dx
mov word [rsp + 0x6c], r11w
movzx eax, bx
xor ax, 0x5a
mov word [rsp + 0x6e], ax
mov word [rsp + 0x70], r10w
mov word [rsp + 0x72], bx
movzx eax, bx
xor ax, 0x77
mov word [rsp + 0x74], ax
mov word [rsp + 0x76], r11w
mov word [rsp + 0x78], cx
movzx eax, bx
xor ax, 0x69
mov word [rsp + 0x7a], ax
movzx eax, bx
xor ax, 0x6e
mov word [rsp + 0x7c], ax
mov word [rsp + 0x7e], r10w
mov word [rbp - 0x80], r8w
xor bx, 1
mov word [rbp - 0x7e], bx
mov word [rbp - 0x7c], r15w
xor r9d, r9d
lea r8, [rbp - 0x6e]
lea rdx, [rsp + 0x4a]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
movdqa xmm0, xmmword [0x140146c30]
movdqu xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x60], 0x7a696c61
mov dword [rbp - 0x5c], 0x69572065
mov dword [rbp - 0x58], 0x654e496e
mov word [rbp - 0x54], 0x2174
mov byte [rbp - 0x52], sil
lea rdx, [rbp - 0x6f]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400082a0
lea rdx, [0x140008470]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor bl, bl
jmp 0x140005744
cmp qword [rbx + 0x18], 0xf
jbe 0x140005330
mov rbx, qword [rbx]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x100
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rdi, rax
test rax, rax
jne 0x1400054e1
mov cl, 0x28
mov word [rsp + 0x30], 0x28
movsx ecx, cl
movzx eax, cx
xor ax, 0x6d
mov word [rsp + 0x32], ax
movzx eax, cx
xor ax, 0x5a
mov word [rsp + 0x34], ax
mov word [rsp + 0x36], ax
xor cx, 0x47
mov word [rsp + 0x38], cx
mov word [rsp + 0x3a], ax
mov word [rsp + 0x3c], r15w
mov cl, 0x16
mov word [rsp + 0x48], 0x16
movsx r8d, cl
movzx eax, r8w
xor ax, 0x50
mov word [rsp + 0x4a], ax
movzx eax, r8w
xor ax, 0x77
mov word [rsp + 0x4c], ax
movzx eax, r8w
xor ax, 0x7f
mov word [rsp + 0x4e], ax
movzx eax, r8w
xor ax, 0x7a
mov word [rsp + 0x50], ax
movzx edx, r8w
xor dx, 0x73
mov word [rsp + 0x52], dx
movzx eax, r8w
xor ax, 0x72
mov word [rsp + 0x54], ax
movzx ecx, r8w
xor cx, 0x36
mov word [rsp + 0x56], cx
movzx eax, r8w
xor ax, 0x62
mov word [rsp + 0x58], ax
movzx eax, r8w
xor ax, 0x79
mov word [rsp + 0x5a], ax
mov word [rsp + 0x5c], cx
mov word [rsp + 0x5e], ax
movzx eax, r8w
xor ax, 0x66
mov word [rsp + 0x60], ax
mov word [rsp + 0x62], dx
movzx eax, r8w
xor ax, 0x78
mov word [rsp + 0x64], ax
mov word [rsp + 0x66], cx
movzx eax, r8w
xor ax, 0x43
mov word [rsp + 0x68], ax
movzx eax, r8w
xor ax, 0x44
mov word [rsp + 0x6a], ax
movzx eax, r8w
xor ax, 0x5a
mov word [rsp + 0x6c], ax
xor r8w, 0x37
mov word [rsp + 0x6e], r8w
mov word [rsp + 0x70], r15w
xor r9d, r9d
lea r8, [rsp + 0x32]
lea rdx, [rsp + 0x4a]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
movdqa xmm0, xmmword [0x140146750]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x214c5255
mov byte [rsp + 0x44], dil
lea rdx, [rsp + 0x31]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400082a0
lea rdx, [0x140008470]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor bl, bl
jmp 0x140005744
mov dword [rsp + 0x30], 0x627716
lea r14, [0x14016a7b8]
mov rcx, r14
cmp qword [0x14016a7d0], 0xf
cmova rcx, qword [0x14016a7b8]
lea rdx, [rsp + 0x31]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
jne 0x1400056cf
movdqa xmm0, xmmword [0x140146ea0]
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x140146720]
movdqu xmmword [rsp + 0x58], xmm1
mov byte [rsp + 0x68], al
lea rdx, [rsp + 0x49]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400082a0
cmp qword [0x14016a7d0], 0xf
cmova r14, qword [0x14016a7b8]
mov r8, qword [0x14016a7c8]
mov rdx, r14
mov rcx, rax
call fcn.1400096f0
lea rdx, [0x140008470]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov cl, 0x35
mov word [rsp + 0x30], 0x35
movsx ecx, cl
movzx eax, cx
xor ax, 0x70
mov word [rsp + 0x32], ax
movzx eax, cx
xor ax, 0x47
mov word [rsp + 0x34], ax
mov word [rsp + 0x36], ax
xor cx, 0x5a
mov word [rsp + 0x38], cx
mov word [rsp + 0x3a], ax
mov word [rsp + 0x3c], r15w
mov cl, 0xa
mov word [rsp + 0x48], 0xa
movsx ebx, cl
movzx eax, bx
xor ax, 0x4c
mov word [rsp + 0x4a], ax
movzx r9d, bx
xor r9w, 0x6b
mov word [rsp + 0x4c], r9w
movzx r11d, bx
xor r11w, 0x63
mov word [rsp + 0x4e], r11w
movzx r10d, bx
xor r10w, 0x66
mov word [rsp + 0x50], r10w
movzx r8d, bx
xor r8w, 0x6f
mov word [rsp + 0x52], r8w
movzx eax, bx
xor ax, 0x6e
mov word [rsp + 0x54], ax
movzx edx, bx
xor dx, 0x2a
mov word [rsp + 0x56], dx
movzx ecx, bx
xor cx, 0x7e
mov word [rsp + 0x58], cx
movzx eax, bx
xor ax, 0x65
mov word [rsp + 0x5a], ax
mov word [rsp + 0x5c], dx
movzx eax, bx
xor ax, 0x69
mov word [rsp + 0x5e], ax
movzx eax, bx
xor ax, 0x78
mov word [rsp + 0x60], ax
mov word [rsp + 0x62], r8w
mov word [rsp + 0x64], r9w
mov word [rsp + 0x66], cx
mov word [rsp + 0x68], r8w
mov word [rsp + 0x6a], dx
movzx eax, bx
xor ax, 0x6c
mov word [rsp + 0x6c], ax
mov word [rsp + 0x6e], r11w
mov word [rsp + 0x70], r10w
mov word [rsp + 0x72], r8w
xor bx, 0x2b
mov word [rsp + 0x74], bx
mov word [rsp + 0x76], r15w
xor r9d, r9d
lea r8, [rsp + 0x32]
lea rdx, [rsp + 0x4a]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor bl, bl
jmp 0x140005744
mov dword [rbp - 0x50], r15d
lea r9, [rbp - 0x50]
mov r8d, 0x400
lea rdx, [rbp]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140005727
nop
mov eax, dword [rbp - 0x50]
test eax, eax
je 0x140005727
mov r8d, eax
mov r9, rbx
mov edx, 1
lea rcx, [rbp]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea r9, [rbp - 0x50]
mov r8d, 0x400
lea rdx, [rbp]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1400056f0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov bl, 1
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140005782
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000577d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000577d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058ef8
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x1400057d0
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400057cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400057cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058ef8
movzx eax, bl
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.140058c00
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x70]
call fcn.140002ce0
int3