Function at 0x140006450
Capabilities:
Create process on windows
Download url
Receive data
Self delete

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x14014ce70]
xor rax, rsp
mov qword [rbp + 0x230], rax
xor esi, esi
cmp qword [0x14032f2b8], rsi
jne 0x140006492
xor al, al
jmp 0x140006b16
lea rdx, [rbp + 0x38]
lea rcx, [0x14032f2e8]
call fcn.140003690
nop
mov r8d, 0xf
lea rdx, str._new_binary.exe
mov rcx, rax
call fcn.140008430
xorps xmm0, xmm0
movups xmmword [rbp + 0xf8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x108], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x108], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp + 0x38]
call fcn.140009cd0
lea r8, [rbp + 0xf8]
cmp qword [rbp + 0x110], 0x10
cmovae r8, qword [rbp + 0xf8]
lea rdx, [0x14032f2a8]
cmp qword [0x14032f2c0], 0x10
cmovae rdx, qword [0x14032f2a8]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
je 0x140006543
xor bl, bl
jmp 0x140006b07
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x120]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x58]
lea rcx, [0x14032f2e8]
call fcn.140003690
nop
mov r8d, 0xb
lea rdx, str.update.bat
mov rcx, rax
call fcn.140008430
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 2
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x120]
call fcn.140008080
nop
lea rcx, [rbp - 0x48]
call fcn.140009cd0
nop
lea rcx, [rbp + 0x58]
call fcn.140009cd0
cmp qword [rbp + 0x1a8], 0
je 0x140006a13
lea rdx, str._echo_off_n
lea rcx, [rbp + 0x120]
call fcn.14000d740
mov rcx, rax
lea rdx, str.Title_DBDC_Updater_n
call fcn.14000d740
mov rcx, rax
lea rdx, str.color_5_n
call fcn.14000d740
mov rcx, rax
lea rdx, str.echo_Updating_DBDC__n
call fcn.14000d740
mov rcx, rax
lea rdx, str.taskkill__f__im
call fcn.14000d740
lea rdi, [0x14032f288]
mov rdx, rdi
cmp qword [0x14032f2a0], 0x10
cmovae rdx, qword [0x14032f288]
mov r8, qword [0x14032f298]
mov rcx, rax
call fcn.140014b30
lea rdx, [0x1400f52b4]
mov rcx, rax
call fcn.14000d740
mov rcx, rax
lea rdx, str.timeout__t_1__nobreak__nul
call fcn.14000d740
mov rcx, rax
lea rdx, [0x1400f52b4]
call fcn.14000d740
mov rcx, rax
lea rdx, str.del
call fcn.14000d740
mov rbx, rax
lea rdx, [rbp + 0xb8]
lea rcx, [0x14032f2e8]
call fcn.140003690
nop
mov r8d, 1
lea rdx, [0x1400f53d4]
mov rcx, rax
call fcn.140008430
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x28], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x28], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, rdi
cmp qword [0x14032f2a0], 0x10
cmovae rdx, qword [0x14032f288]
mov r8, qword [0x14032f298]
lea rcx, [rbp + 0x18]
call fcn.140008430
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
mov rcx, rbx
call fcn.140014b30
lea rdx, [0x1400f52b4]
mov rcx, rax
call fcn.14000d740
mov rcx, rax
lea rdx, str.timeout__t_1__nobreak__nul
call fcn.14000d740
mov rcx, rax
lea rdx, [0x1400f52b4]
call fcn.14000d740
mov rcx, rax
lea rdx, str.ren
call fcn.14000d740
mov rbx, rax
lea rdx, [rbp + 0x98]
lea rcx, [0x14032f2e8]
call fcn.140003690
nop
mov r8d, 1
lea rdx, [0x1400f53d4]
mov rcx, rax
call fcn.140008430
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 0xf
lea rdx, str.new_binary.exe
lea rcx, [rbp - 8]
call fcn.140008430
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, rbx
call fcn.140014b30
mov rdx, rdi
cmp qword [0x14032f2a0], 0x10
cmovae rdx, qword [0x14032f288]
mov r8, qword [0x14032f298]
mov rcx, rax
call fcn.140014b30
lea rdx, [0x1400f52b4]
mov rcx, rax
call fcn.14000d740
mov rcx, rax
lea rdx, str.timeout__t_1__nobreak__nul
call fcn.14000d740
mov rcx, rax
lea rdx, [0x1400f52b4]
call fcn.14000d740
mov rcx, rax
lea rdx, [0x1400f53d8]
call fcn.14000d740
mov rbx, rax
lea rdx, [rbp + 0x78]
lea rcx, [0x14032f2e8]
call fcn.140003690
nop
mov r8d, 1
lea rdx, [0x1400f53d4]
mov rcx, rax
call fcn.140008430
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
cmp qword [0x14032f2a0], 0x10
cmovae rdi, qword [0x14032f288]
mov r8, qword [0x14032f298]
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140008430
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov rcx, rbx
call fcn.140014b30
nop
lea rcx, [rsp + 0x30]
call fcn.140009cd0
nop
lea rcx, [rbp - 0x28]
call fcn.140009cd0
nop
lea rcx, [rbp + 0x78]
call fcn.140009cd0
nop
lea rcx, [rsp + 0x50]
call fcn.140009cd0
nop
lea rcx, [rbp - 8]
call fcn.140009cd0
nop
lea rcx, [rbp + 0x98]
call fcn.140009cd0
nop
lea rcx, [rsp + 0x70]
call fcn.140009cd0
nop
lea rcx, [rbp + 0x18]
call fcn.140009cd0
nop
lea rcx, [rbp + 0xb8]
call fcn.140009cd0
lea rcx, [rbp + 0x128]
call fcn.140009b20
test rax, rax
jne 0x140006a13
mov rax, qword [rbp + 0x120]
movsxd r9, dword [rax + 4]
lea rcx, [rbp + 0x120]
add rcx, r9
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rdx, [rbp + 0xd8]
lea rcx, [0x14032f2e8]
call fcn.140003690
nop
mov r8d, 0xb
lea rdx, str.update.bat
mov rcx, rax
call fcn.140008430
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea r8, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae r8, qword [rbp - 0x68]
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea rcx, [rbp - 0x68]
call fcn.140009cd0
nop
lea rcx, [rbp + 0xd8]
call fcn.140009cd0
mov bl, 1
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x120], rax
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x11c], edx
lea rcx, [rbp + 0x128]
call fcn.140008010
lea rcx, [rbp + 0x130]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1c8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0xf8]
call fcn.140009cd0
movzx eax, bl
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1400e7bc0
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret