Function at 0x14003a590
Capabilities:
Create http request
Create process on windows
Get common file path
Read data from internet
Receive data
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2690
call fcn.140160a20
sub rsp, rax
movaps xmmword [rsp + 0x2680], xmm6
mov rax, qword [0x1401fdf00]
xor rax, rsp
mov qword [rsp + 0x2670], rax
mov rbx, rcx
xor r15d, r15d
mov dword [rsp + 0x54], r15d
mov r8d, 0x104
lea rdx, [rsp + 0x450]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x14003a66a
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r8d, 0xa
lea rdx, str.Error_201.
lea rcx, [rsp + 0x58]
call fcn.140039a60
nop
lea rcx, [rsp + 0x58]
call fcn.140039b60
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14003bd67
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a702
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003a702
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.UpdateChecker
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
test rax, rax
jne 0x14003a70c
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r8d, 0xa
lea rdx, str.Error_101.
lea rcx, [rsp + 0x58]
call fcn.140039a60
nop
lea rcx, [rsp + 0x58]
call fcn.140039b60
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14003bd67
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a702
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003a702
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140160684
jmp 0x14003bd67
cmp qword [rbx + 0x18], 0xf
jbe 0x14003a716
mov rbx, qword [rbx]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
jne 0x14003a74b
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x14003bd67
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x2d0]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1401df4d0]
mov qword [rsp + 0x2d0], rax
lea rcx, [rsp + 0x358]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x54], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x2d8]
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x2d0]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x2d0], r12
mov rax, qword [rsp + 0x2d0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x2cc], edx
lea rcx, [rsp + 0x2d8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x2d8], rax
mov qword [rsp + 0x340], r15
mov dword [rsp + 0x348], 4
lea r9, [rsp + 0x248]
mov r8d, 0x2000
lea rdx, [rsp + 0x670]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14003a877
nop word [rax + rax]
mov eax, dword [rsp + 0x248]
test eax, eax
je 0x14003a877
mov r8d, eax
lea rdx, [rsp + 0x670]
lea rcx, [rsp + 0x2d0]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea r9, [rsp + 0x248]
mov r8d, 0x2000
lea rdx, [rsp + 0x670]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x14003a830
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
mov r9, r15
mov qword [rsp + 0xb0], r15
mov ecx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0xb8], rcx
mov byte [rsp + 0xa0], r9b
mov dword [rsp + 0x54], 5
xor eax, eax
movups xmmword [rsp + 0x230], xmm0
mov qword [rsp + 0x240], rax
mov edx, dword [rsp + 0x348]
mov eax, edx
and al, 0x22
cmp al, 2
je 0x14003a8fc
mov rax, qword [rsp + 0x318]
mov r8, qword [rax]
test r8, r8
je 0x14003a8fc
mov rax, qword [rsp + 0x2f8]
mov rdx, qword [rax]
cmp r8, qword [rsp + 0x340]
cmovb r8, qword [rsp + 0x340]
sub r8, rdx
jmp 0x14003a93f
test dl, 4
jne 0x14003a92f
mov rax, qword [rsp + 0x310]
mov r10, qword [rax]
test r10, r10
je 0x14003a92f
mov rax, qword [rsp + 0x2f0]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x328]
movsxd r8, dword [rax]
sub r8, rdx
add r8, r10
jmp 0x14003a93f
mov r8, qword [rsp + 0x238]
mov rdx, qword [rsp + 0x230]
test rdx, rdx
je 0x14003a961
lea rcx, [rsp + 0xa0]
call fcn.140045ea0
mov rcx, qword [rsp + 0xb8]
mov r9, qword [rsp + 0xb0]
test r9, r9
sete sil
cmp rcx, 0xf
jbe 0x14003a9a7
lea rdx, [rcx + 1]
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a9a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003a9a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140160684
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test sil, sil
je 0x14003a9c3
jmp 0x14003bd11
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x118], r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
movdqa xmm6, xmmword [0x1401df750]
movdqu xmmword [rsp + 0x90], xmm6
mov byte [rsp + 0x80], 0
mov dword [rsp + 0x54], reloc.WS2_32.dll_send
xor eax, eax
movups xmmword [rsp + 0x230], xmm0
mov qword [rsp + 0x240], rax
mov ecx, dword [rsp + 0x348]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14003aa56
mov rax, qword [rsp + 0x318]
mov r8, qword [rax]
test r8, r8
je 0x14003aa56
mov rax, qword [rsp + 0x2f8]
mov rdx, qword [rax]
cmp r8, qword [rsp + 0x340]
cmovb r8, qword [rsp + 0x340]
sub r8, rdx
jmp 0x14003aa99
test cl, 4
jne 0x14003aa89
mov rax, qword [rsp + 0x310]
mov rcx, qword [rax]
test rcx, rcx
je 0x14003aa89
mov rax, qword [rsp + 0x2f0]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x328]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x14003aa99
mov r8, qword [rsp + 0x238]
mov rdx, qword [rsp + 0x230]
test rdx, rdx
je 0x14003aaac
lea rcx, [rsp + 0x80]
call fcn.140045ea0
nop
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x230]
call fcn.140046bf0
nop
mov rdx, qword [rsp + 0x98]
cmp rdx, 0xf
jbe 0x14003ab10
inc rdx
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ab0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003ab0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140160684
movdqu xmmword [rsp + 0x90], xmm6
mov byte [rsp + 0x80], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
mov r8d, recvfrom
lea rdx, str.latest_version
lea rcx, [rsp + 0x58]
call fcn.140039a60
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x230]
call fcn.140049220
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x2b0], xmm0
mov rsi, r15
mov qword [rsp + 0x2c0], r15
mov r14d, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x2c8], r14
mov byte [rsp + 0x2b0], sil
mov dword [rsp + 0x54], 0x10b
cmp byte [rax], 3
jne 0x14003bd9b
mov rdx, qword [rax + 8]
lea rax, [rsp + 0x2b0]
cmp rax, rdx
je 0x14003abd5
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], r14
jbe 0x14003abb8
mov rdx, qword [rdx]
lea rcx, [rsp + 0x2b0]
call fcn.140045ea0
mov r14, qword [rsp + 0x2c8]
mov rsi, qword [rsp + 0x2c0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
mov r8d, 0xa
lea rdx, str.update_url
lea rcx, [rsp + 0x58]
call fcn.140039a60
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x230]
call fcn.140049220
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x210], xmm0
mov qword [rsp + 0x220], r15
mov qword [rsp + 0x228], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x210], 0
mov dword [rsp + 0x54], 0x8cb
cmp byte [rax], 3
jne 0x14003bde0
mov rdx, qword [rax + 8]
lea rax, [rsp + 0x210]
cmp rax, rdx
je 0x14003ac76
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x14003ac68
mov rdx, qword [rdx]
lea rcx, [rsp + 0x210]
call fcn.140045ea0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x3c0], xmm0
mov qword [rsp + 0x3d0], r15
mov qword [rsp + 0x3d8], r15
mov r8d, 3
lea rdx, [0x1401dd27c]
lea rcx, [rsp + 0x3c0]
call fcn.140039a60
nop
lea rdx, [rsp + 0x3c0]
mov rdi, qword [rsp + 0x3c0]
mov r13, qword [rsp + 0x3d8]
cmp r13, 0xf
cmova rdx, rdi
lea rcx, [rsp + 0x2b0]
mov rbx, qword [rsp + 0x2b0]
cmp r14, 0xf
cmova rcx, rbx
cmp rsi, qword [rsp + 0x3d0]
jne 0x14003ae6b
test rsi, rsi
je 0x14003ad0c
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete al
test al, al
je 0x14003ae6b
mov r9d, 0x40
lea r8, str.Information
lea rdx, str.Current_version_is_Up_to_date.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
cmp r13, 0xf
jbe 0x14003ad61
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14003ad58
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bbb9
mov rcx, rdi
call fcn.140160684
nop
mov rdx, qword [rsp + 0x228]
cmp rdx, 0xf
jbe 0x14003ada4
inc rdx
mov rcx, qword [rsp + 0x210]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ad9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bc03
call fcn.140160684
mov qword [rsp + 0x220], r15
mov qword [rsp + 0x228], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x210], 0
cmp r14, 0xf
jbe 0x14003adf8
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003adef
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bc65
mov rcx, rbx
call fcn.140160684
nop
movzx edx, byte [rsp + 0x230]
lea rcx, [rsp + 0x238]
call fcn.140045840
nop
mov rax, qword [rsp + 0x2d0]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x2d0], r12
mov rax, qword [rsp + 0x2d0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x2cc], edx
lea rcx, [rsp + 0x2d8]
call fcn.140044dc0
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x358]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
xor al, al
jmp 0x14003bd69
movabs r15, 0x7fffffffffffffff
mov rax, r15
sub rax, rsi
cmp rax, 0x17
jb 0x14003be25
lea rax, [rsp + 0x2b0]
cmp r14, 0xf
cmova rax, rbx
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], reloc.WS2_32.dll_socket
lea r9, str.New_version_available:
lea r8, [rsp + 0x2b0]
movzx edx, byte [rsp + 0x50]
lea rcx, [rsp + 0x120]
call fcn.140049410
nop
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.._Downloading...
lea rcx, [rsp + 0x120]
call fcn.140046000
xorps xmm0, xmm0
movups xmmword [rsp + 0x270], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x280], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x270], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x280], xmm1
xor esi, esi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], sil
mov rdx, qword [rsp + 0x138]
cmp rdx, 0xf
jbe 0x14003af69
inc rdx
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003af64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003af64
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140160684
movdqu xmmword [rsp + 0x130], xmm6
mov byte [rsp + 0x120], sil
lea rdx, [rsp + 0x270]
cmp qword [rsp + 0x288], 0xf
cmova rdx, qword [rsp + 0x270]
mov r9d, 0x40
lea r8, str.Update
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rdx, [rsp + 0x560]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x14003b166
mov rdx, qword [rsp + 0x288]
cmp rdx, 0xf
jbe 0x14003b007
inc rdx
mov rcx, qword [rsp + 0x270]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b002
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bb71
call fcn.140160684
movdqu xmmword [rsp + 0x280], xmm6
mov byte [rsp + 0x270], 0
cmp r13, 0xf
jbe 0x14003b050
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14003b047
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bbb9
mov rcx, rdi
call fcn.140160684
nop
mov rdx, qword [rsp + 0x228]
cmp rdx, 0xf
jbe 0x14003b093
inc rdx
mov rcx, qword [rsp + 0x210]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b08e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bc03
call fcn.140160684
mov qword [rsp + 0x220], rsi
mov qword [rsp + 0x228], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x210], 0
mov rdx, qword [rsp + 0x2c8]
cmp rdx, 0xf
jbe 0x14003b0f3
inc rdx
mov rcx, qword [rsp + 0x2b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b0ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bc65
call fcn.140160684
nop
movzx edx, byte [rsp + 0x230]
lea rcx, [rsp + 0x238]
call fcn.140045840
nop
mov rax, qword [rsp + 0x2d0]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x2d0], r12
mov rax, qword [rsp + 0x2d0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x2cc], edx
lea rcx, [rsp + 0x2d8]
call fcn.140044dc0
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x358]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
xor al, al
jmp 0x14003bd69
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rsp + 0x560]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x14003b190
lea rdx, [rsp + 0x560]
lea rcx, [rsp + 0x58]
call fcn.140039a60
nop
mov r8d, 0xa
lea rdx, str.Update.exe
lea rcx, [rsp + 0x58]
call fcn.140046000
xorps xmm0, xmm0
movups xmmword [rsp + 0x250], xmm0
mov qword [rsp + 0x260], rsi
mov qword [rsp + 0x268], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x250], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x260], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14003b244
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b23f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b23f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140160684
movdqu xmmword [rsp + 0x68], xmm6
mov byte [rsp + 0x58], 0
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x210]
call fcn.14003a120
test al, al
jne 0x14003b526
mov rcx, qword [rsp + 0x220]
sub r15, rcx
cmp r15, 0x2b
jb 0x14003be2b
lea rax, [rsp + 0x210]
cmp qword [rsp + 0x228], 0xf
cmova rax, qword [rsp + 0x210]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x2b
lea r9, str.Failed_to_download_the_updated_loader_101:
lea r8, [rsp + 0x210]
movzx edx, byte [rsp + 0x50]
lea rcx, [rsp + 0xe0]
call fcn.140049410
nop
lea rcx, [rsp + 0xe0]
call fcn.140039b60
nop
mov rdx, qword [rsp + 0xf8]
cmp rdx, 0xf
jbe 0x14003b325
inc rdx
mov rcx, qword [rsp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b31f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b31f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140160684
nop
mov rdx, qword [rsp + 0x268]
cmp rdx, 0xf
jbe 0x14003b368
inc rdx
mov rcx, qword [rsp + 0x250]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b363
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bb0f
call fcn.140160684
mov qword [rsp + 0x260], rsi
mov qword [rsp + 0x268], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x250], 0
mov rdx, qword [rsp + 0x288]
cmp rdx, 0xf
jbe 0x14003b3c7
inc rdx
mov rcx, qword [rsp + 0x270]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b3c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bb71
call fcn.140160684
movdqu xmmword [rsp + 0x280], xmm6
mov byte [rsp + 0x270], 0
cmp r13, 0xf
jbe 0x14003b410
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14003b407
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bbb9
mov rcx, rdi
call fcn.140160684
nop
mov rdx, qword [rsp + 0x228]
cmp rdx, 0xf
jbe 0x14003b453
inc rdx
mov rcx, qword [rsp + 0x210]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b44e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bc03
call fcn.140160684
mov qword [rsp + 0x220], rsi
mov qword [rsp + 0x228], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x210], 0
mov rdx, qword [rsp + 0x2c8]
cmp rdx, 0xf
jbe 0x14003b4b3
inc rdx
mov rcx, qword [rsp + 0x2b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b4ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bc65
call fcn.140160684
nop
movzx edx, byte [rsp + 0x230]
lea rcx, [rsp + 0x238]
call fcn.140045840
nop
mov rax, qword [rsp + 0x2d0]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x2d0], r12
mov rax, qword [rsp + 0x2d0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x2cc], edx
lea rcx, [rsp + 0x2d8]
call fcn.140044dc0
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x358]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
xor al, al
jmp 0x14003bd69
mov rax, r15
mov rcx, qword [rsp + 0x260]
sub rax, rcx
cmp rax, 0x21
jb 0x14003be30
lea rax, [rsp + 0x250]
cmp qword [rsp + 0x268], 0xf
cmova rax, qword [rsp + 0x250]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x21
lea r9, str.cmd.exe__c_timeout_2__move__Y__
lea r8, [rsp + 0x250]
movzx edx, byte [rsp + 0x50]
lea rcx, [rsp + 0xe0]
call fcn.140049410
nop
mov r8d, 3
lea rdx, [0x1401dd330]
lea rcx, [rsp + 0xe0]
call fcn.140046000
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xb0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xa0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xb0], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rax, [rsp + 0x450]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14003b5f0
lea rdx, [rsp + 0x450]
lea rcx, [rsp + 0xa0]
call fcn.140046000
xorps xmm0, xmm0
movups xmmword [rsp + 0x160], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x170], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x160], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x170], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8d, 6
lea rdx, [0x1401dd328]
lea rcx, [rsp + 0x160]
call fcn.140046000
xorps xmm0, xmm0
movups xmmword [rsp + 0x140], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x150], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x140], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x150], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rax, [rsp + 0x450]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14003b6b0
mov r8, rbx
lea rdx, [rsp + 0x450]
lea rcx, [rsp + 0x140]
call fcn.140046000
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x90], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x90], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x1401dd324]
lea rcx, [rsp + 0x80]
call fcn.140046000
xorps xmm0, xmm0
movups xmmword [rsp + 0x290], xmm0
mov qword [rsp + 0x2a0], rsi
mov qword [rsp + 0x2a8], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x290], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x2a0], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x98]
cmp rdx, 0xf
jbe 0x14003b7af
inc rdx
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b7aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b7aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140160684
movdqu xmmword [rsp + 0x90], xmm6
mov byte [rsp + 0x80], 0
mov rdx, qword [rsp + 0x158]
cmp rdx, 0xf
jbe 0x14003b806
inc rdx
mov rcx, qword [rsp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b801
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b801
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140160684
movdqu xmmword [rsp + 0x150], xmm6
mov byte [rsp + 0x140], 0
mov rdx, qword [rsp + 0x178]
cmp rdx, 0xf
jbe 0x14003b85d
inc rdx
mov rcx, qword [rsp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b858
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b858
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140160684
movdqu xmmword [rsp + 0x170], xmm6
mov byte [rsp + 0x160], 0
mov rdx, qword [rsp + 0xb8]
cmp rdx, 0xf
jbe 0x14003b8b4
inc rdx
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b8af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b8af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140160684
movdqu xmmword [rsp + 0xb0], xmm6
mov byte [rsp + 0xa0], 0
mov rdx, qword [rsp + 0xf8]
cmp rdx, 0xf
jbe 0x14003b90b
inc rdx
mov rcx, qword [rsp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b906
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b906
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140160684
movdqu xmmword [rsp + 0xf0], xmm6
mov byte [rsp + 0xe0], 0
mov dword [rsp + 0x3e0], WSAGetLastError
xorps xmm0, xmm0
movups xmmword [rsp + 0x3e8], xmm0
movups xmmword [rsp + 0x3f8], xmm0
movups xmmword [rsp + 0x408], xmm0
movups xmmword [rsp + 0x418], xmm0
movups xmmword [rsp + 0x428], xmm0
movups xmmword [rsp + 0x438], xmm0
lea rdx, [rsp + 0x290]
cmp qword [rsp + 0x2a8], 0xf
cmova rdx, qword [rsp + 0x290]
lea rax, [rsp + 0x1f8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x3e0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14003bce5
mov rcx, qword [rsp + 0x2a0]
sub r15, rcx
cmp r15, 0x30
jb 0x14003be36
lea rax, [rsp + 0x290]
cmp qword [rsp + 0x2a8], 0xf
cmova rax, qword [rsp + 0x290]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x30
lea r9, str.Failed_to_schedule_the_update_process._Command:
lea r8, [rsp + 0x290]
movzx edx, byte [rsp + 0x50]
lea rcx, [rsp + 0x120]
call fcn.140049410
nop
lea rcx, [rsp + 0x120]
call fcn.140039b60
nop
mov rdx, qword [rsp + 0x138]
cmp rdx, 0xf
jbe 0x14003ba73
inc rdx
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ba6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003ba6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140160684
nop
mov rdx, qword [rsp + 0x2a8]
cmp rdx, 0xf
jbe 0x14003bab9
inc rdx
mov rcx, qword [rsp + 0x290]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003bab4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003bab4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140160684
mov qword [rsp + 0x2a0], rsi
mov qword [rsp + 0x2a8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x290], 0
mov rdx, qword [rsp + 0x268]
cmp rdx, 0xf
jbe 0x14003bb1b
inc rdx
mov rcx, qword [rsp + 0x250]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003bb16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003bb16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140160684
mov qword [rsp + 0x260], rsi
mov qword [rsp + 0x268], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x250], 0
mov rdx, qword [rsp + 0x288]
cmp rdx, 0xf
jbe 0x14003bb7d
inc rdx
mov rcx, qword [rsp + 0x270]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003bb78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003bb78
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140160684
movdqu xmmword [rsp + 0x280], xmm6
mov byte [rsp + 0x270], 0
cmp r13, 0xf
jbe 0x14003bbc9
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14003bbc0
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003bbc0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140160684
nop
mov rdx, qword [rsp + 0x228]
cmp rdx, 0xf
jbe 0x14003bc0f
inc rdx
mov rcx, qword [rsp + 0x210]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003bc0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003bc0a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140160684
mov qword [rsp + 0x220], rsi
mov qword [rsp + 0x228], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x210], 0
mov rdx, qword [rsp + 0x2c8]
cmp rdx, 0xf
jbe 0x14003bc72
inc rdx
mov rcx, qword [rsp + 0x2b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003bc6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003bc6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140160684
nop
movzx edx, byte [rsp + 0x230]
lea rcx, [rsp + 0x238]
call fcn.140045840
nop
mov rax, qword [rsp + 0x2d0]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x2d0], r12
mov rax, qword [rsp + 0x2d0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x2cc], edx
lea rcx, [rsp + 0x2d8]
call fcn.140044dc0
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x358]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
xor al, al
jmp 0x14003bd69
mov rcx, qword [rsp + 0x200]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x1f8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rax, qword [rsp + 0x2d0]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x2d0], r12
mov rax, qword [rsp + 0x2d0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x2cc], edx
lea rcx, [rsp + 0x2d8]
call fcn.140044dc0
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x358]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
xor al, al
mov rcx, qword [rsp + 0x2670]
xor rcx, rsp
call fcn.14015ff50
lea r11, [rsp + 0x2690]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rcx, rax
call fcn.140049f60
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x78]
lea rcx, [rsp + 0xe0]
call fcn.140055250
nop
mov r8, rax
lea rcx, [rsp + 0x188]
call fcn.140055310
lea rdx, [0x1401f8ae8]
lea rcx, [rsp + 0x188]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, rax
call fcn.140049f60
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x78]
lea rcx, [rsp + 0xe0]
call fcn.140055250
nop
mov r8, rax
lea rcx, [rsp + 0x1c0]
call fcn.140055310
lea rdx, [0x1401f8ae8]
lea rcx, [rsp + 0x1c0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400369e0
nop
call fcn.1400369e0
call fcn.1400369e0
nop
call fcn.1400369e0
int3