Function at 0x140004770
Capabilities:
Contain obfuscated stackstrings
Create http request
Encode data using xor
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rax, qword [0x140155010]
xor rax, rsp
mov qword [rbp + 0x300], rax
xor r8d, r8d
mov dword [rbp - 8], r8d
xorps xmm0, xmm0
movups xmmword [rbp + 0xf8], xmm0
lea rax, [rbp + 0x338]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rbp + 0x100], rcx
mov qword [rbp + 0x108], rax
mov rbx, qword [rax]
xor rbx, rcx
mov qword [rbp + 0xf8], rbx
mov qword [rax], r8
mov cl, 0x6b
mov word [rsp + 0x30], 0x6b
movsx edx, cl
movzx eax, dx
xor ax, 0x3d
mov word [rsp + 0x32], ax
movzx ecx, dx
xor cx, 0xe
mov word [rsp + 0x34], cx
movzx eax, dx
xor ax, 0x19
mov word [rsp + 0x36], ax
movzx eax, dx
xor ax, 0x18
mov word [rsp + 0x38], ax
movzx eax, dx
xor ax, 2
mov word [rsp + 0x3a], ax
movzx eax, dx
xor ax, 4
mov word [rsp + 0x3c], ax
movzx eax, dx
xor ax, 5
mov word [rsp + 0x3e], ax
movzx eax, dx
xor ax, 0x28
mov word [rsp + 0x40], ax
movzx eax, dx
xor ax, 3
mov word [rsp + 0x42], ax
mov word [rsp + 0x44], cx
movzx eax, dx
xor ax, 8
mov word [rsp + 0x46], ax
mov word [rsp + 0x48], dx
mov word [rsp + 0x4a], r8w
mov dword [rsp + 0x20], r8d
xor r9d, r9d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x32]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rsi, rax
test rax, rax
je 0x140004e5e
mov dl, 0xc
mov dword [rsp + 0x50], 0x64000c
mov dword [rsp + 0x54], 0x780078
mov dword [rsp + 0x58], 0x7f007c
mov dword [rsp + 0x5c], 0x230036
mov dword [rsp + 0x60], 0x780023
mov dword [rsp + 0x64], 0x7f006d
mov dword [rsp + 0x68], 0x6d007f
mov dword [rsp + 0x6c], 0x6d0061
mov dword [rsp + 0x70], 0x210065
mov dword [rsp + 0x74], 0x69003c
mov dword [rsp + 0x78], 0x3e006e
mov dword [rsp + 0x7c], 0x6f006e
mov dword [rbp - 0x80], 0x3c0069
mov dword [rbp - 0x7c], 0x6e003b
mov dword [rbp - 0x78], 0x350038
mov dword [rbp - 0x74], 0x640022
mov dword [rbp - 0x70], 0x7e0069
mov dword [rbp - 0x6c], 0x670063
mov dword [rbp - 0x68], 0x6d0079
mov dword [rbp - 0x64], 0x7c007c
mov dword [rbp - 0x60], 0x6f0022
mov dword [rbp - 0x5c], 0x610063
mov dword [rbp - 0x58], 0x6f0023
mov dword [rbp - 0x54], 0x690064
mov dword [rbp - 0x50], 0x78006d
mov dword [rbp - 0x4c], 0x23007f
mov dword [rbp - 0x48], 0x630060
mov dword [rbp - 0x44], 0x68006d
mov dword [rbp - 0x40], 0x7e0069
mov dword [rbp - 0x3c], 0x7a0023
mov dword [rbp - 0x38], 0x7e0069
mov dword [rbp - 0x34], 0x65007f
mov dword [rbp - 0x30], 0x620063
xor r14d, r14d
mov word [rbp - 0x2c], r14w
mov ecx, r14d
nop
movsx eax, dl
xor word [rsp + rcx*2 + 0x52], ax
movsx eax, byte [rsp + 0x50]
xor word [rsp + rcx*2 + 0x54], ax
movsx eax, byte [rsp + 0x50]
xor word [rsp + rcx*2 + 0x56], ax
movsx eax, byte [rsp + 0x50]
xor word [rsp + rcx*2 + 0x58], ax
movsx eax, byte [rsp + 0x50]
xor word [rsp + rcx*2 + 0x5a], ax
movsx eax, byte [rsp + 0x50]
xor word [rsp + rcx*2 + 0x5c], ax
movsx eax, byte [rsp + 0x50]
xor word [rsp + rcx*2 + 0x5e], ax
movsx eax, byte [rsp + 0x50]
xor word [rsp + rcx*2 + 0x60], ax
movsx eax, byte [rsp + 0x50]
xor word [rsp + rcx*2 + 0x62], ax
movsx eax, byte [rsp + 0x50]
xor word [rsp + rcx*2 + 0x64], ax
movsx eax, byte [rsp + 0x50]
xor word [rsp + rcx*2 + 0x66], ax
movsx eax, byte [rsp + 0x50]
xor word [rsp + rcx*2 + 0x68], ax
movsx eax, byte [rsp + 0x50]
xor word [rsp + rcx*2 + 0x6a], ax
add rcx, 0xd
cmp rcx, 0x41
jae 0x140004a34
movzx edx, byte [rsp + 0x50]
jmp 0x1400049a0
mov word [rbp - 0x2c], r14w
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x52]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rdi, rax
test rax, rax
je 0x140004e54
lea r9, [rbp + 0xf4]
mov r8d, 0x100
lea rdx, [rbp + 0x200]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140004e4b
mov eax, dword [rbp + 0xf4]
test eax, eax
je 0x140004e4b
cmp rax, 0x100
jae 0x140004ea7
mov byte [rbp + rax + 0x200], r14b
xor edx, edx
mov r8d, 0xf0
lea rcx, [rbp + 0x110]
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r14
lea rax, [rbp + 0x200]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r14b
jne 0x140004ae0
lea rdx, [rbp + 0x200]
lea rcx, [rbp]
call fcn.140009e10
nop
lea rax, [0x14005e100]
mov qword [rbp + 0x110], rax
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rbp - 8], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x110]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x110], r15
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx + 0x10c], edx
lea rax, [rbp + 0x120]
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 0x120]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x120], rax
lea rdx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rdx, qword [rbp]
mov r9d, 2
mov r8, qword [rbp + 0x10]
lea rcx, [rbp + 0x120]
call fcn.140008b60
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x140004bf4
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004bef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004bef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005a938
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x110]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___float____ptr64____ptr64]
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x140004d8b
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movdqa xmm0, xmmword [0x1401492c0]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x203a
mov byte [rbp - 0xe], 0
lea rdx, [rbp - 0x1f]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400092c0
movss xmm1, dword [0x1401485f4]
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___float____ptr64]
movdqa xmm0, xmmword [0x140149180]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x203a6e6f
mov byte [rsp + 0x44], 0
lea rdx, [rsp + 0x31]
mov rcx, rax
call fcn.1400092c0
movss xmm1, dword [rbp + 0xf0]
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___float____ptr64]
lea rdx, [0x140009490]
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]
movss xmm0, dword [0x1401485f4]
comiss xmm0, dword [rbp + 0xf0]
jb 0x140004d2e
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x110], r15
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx + 0x10c], edx
lea rcx, [rbp + 0x120]
call fcn.1400074b0
lea rcx, [rbp + 0x128]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
movabs rax, 0xff00ff00ff00ff00
xor rbx, rax
lea rax, [rbp + 0x338]
mov qword [rax], rbx
mov al, 1
jmp 0x140004e77
mov dword [0x14016e360], r14d
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x110], r15
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx + 0x10c], edx
lea rcx, [rbp + 0x120]
call fcn.1400074b0
lea rcx, [rbp + 0x128]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x140004e5e
mov cl, 0x77
mov word [rbp - 0x20], 0x77
movsx ecx, cl
movzx eax, cx
xor ax, 0x32
mov word [rbp - 0x1e], ax
movzx eax, cx
xor ax, 5
mov word [rbp - 0x1c], ax
mov word [rbp - 0x1a], ax
xor cx, 0x18
mov word [rbp - 0x18], cx
mov word [rbp - 0x16], ax
mov word [rbp - 0x14], r14w
lea rdx, [rbp + 0x20]
call fcn.140004eb0
mov r8, r14
lea rdx, [rax + 2]
movsx ecx, byte [rax]
xor word [rdx + r8*2], cx
inc r8
cmp r8, 0x65
jb 0x140004dd1
mov word [rdx + 0xca], r14w
xor r9d, r9d
lea r8, [rbp - 0x1e]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x110], r15
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx + 0x10c], edx
lea rcx, [rbp + 0x120]
call fcn.1400074b0
lea rcx, [rbp + 0x128]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
movabs rax, 0xff00ff00ff00ff00
xor rbx, rax
lea rax, [rbp + 0x338]
mov qword [rax], rbx
xor al, al
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.14005a640
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14005a768
nop
int3