Function at 0x4013d0
Capabilities:
Create process on windows
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fa2b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10174
call fcn.0045ef20
mov eax, dword [0x476400]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Starting_updater..._n
call fcn.00403150
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x124]
movq qword [ebp - 0x124], xmm0
mov dword [ebp - 0x11c], 0
call fcn.00401e40
push 0x10044
lea eax, [ebp - 0x10168]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x1012c]
mov dword [ebp - 0x10168], 0
mov dword [ebp - 0x10138], eax
lea ecx, [ebp - 0x1012c]
neg eax
mov dword [ebp - 0x10164], 0
and eax, 3
mov dword [ebp - 0x10158], 0
add eax, ecx
mov dword [ebp - 0x10154], 0
mov dword [ebp - 0x10134], eax
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x10130], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x1016c], ecx
mov dword [ebp - 0x10150], 0
mov dword [ebp - 0x10148], 0
cmp byte [ecx], 0xef
jne 0x401500
cmp byte [ecx + 1], 0xbb
jne 0x401500
cmp byte [ecx + 2], 0xbf
jne 0x401500
add ecx, 3
mov dword [ebp - 0x1016c], ecx
nop dword [eax]
movzx eax, byte [ecx]
mov al, byte [eax + 0x472908]
test al, al
je 0x40151f
nop dword [eax]
movzx eax, byte [ecx + 1]
inc ecx
mov al, byte [eax + 0x472908]
test al, al
jne 0x401510
mov dword [ebp - 0x1016c], ecx
mov al, byte [ecx]
test al, al
jne 0x4017ce
mov esi, str.Autoupdate
inc esi
cmp byte [esi], 0
jne 0x401534
mov edx, dword [ebp - 0x10150]
sub esi, str.Autoupdate
test edx, edx
je 0x401589
nop word [eax + eax]
mov ecx, dword [edx]
test ecx, ecx
je 0x40155b
mov eax, dword [edx + 8]
jmp 0x401562
xor eax, eax
mov ecx, 0x476b1c
cmp eax, esi
jne 0x401582
lea ebx, [eax + ecx]
cmp ecx, ebx
jae 0x40158b
mov edi, str.Autoupdate
sub edi, ecx
mov al, byte [ecx]
cmp al, byte [edi + ecx]
jne 0x401582
inc ecx
cmp ecx, ebx
jb 0x401574
jmp 0x40158b
mov edx, dword [edx + 0x2c]
test edx, edx
jne 0x401550
xor edx, edx
mov esi, str.Item
inc esi
cmp byte [esi], 0
jne 0x401590
mov edx, dword [edx + 0x18]
sub esi, str.Item
test edx, edx
je 0x4015dc
mov ecx, dword [edx]
test ecx, ecx
je 0x4015ae
mov eax, dword [edx + 8]
jmp 0x4015b5
xor eax, eax
mov ecx, 0x476b1c
cmp eax, esi
jne 0x4015d5
lea ebx, [ecx + eax]
cmp ecx, ebx
jae 0x4015e0
mov edi, str.Item
sub edi, ecx
mov al, byte [ecx]
cmp al, byte [edi + ecx]
jne 0x4015d5
inc ecx
cmp ecx, ebx
jb 0x4015c7
jmp 0x4015e0
mov edx, dword [edx + 0x2c]
test edx, edx
jne 0x4015a3
xor edx, edx
nop
mov esi, dword [edx + 0x18]
mov edx, str.Link
inc edx
cmp byte [edx], 0
jne 0x4015e8
mov edi, esi
sub edx, str.Link
test edi, edi
je 0x401649
nop word [eax + eax]
mov ecx, dword [edi]
test ecx, ecx
je 0x40160b
mov eax, dword [edi + 8]
jmp 0x401612
xor eax, eax
mov ecx, 0x476b1c
cmp eax, edx
jne 0x401642
add eax, ecx
mov dword [ebp - 0x1016c], eax
cmp ecx, eax
jae 0x40164b
mov ebx, str.Link
sub ebx, ecx
nop dword [eax]
mov al, byte [ecx]
cmp al, byte [ebx + ecx]
jne 0x401642
inc ecx
cmp ecx, dword [ebp - 0x1016c]
jb 0x401630
jmp 0x40164b
mov edi, dword [edi + 0x2c]
test edi, edi
jne 0x401600
xor edi, edi
mov edx, str.Hash
inc edx
cmp byte [edx], 0
jne 0x401650
sub edx, str.Hash
test esi, esi
je 0x4016a9
mov ecx, dword [esi]
test ecx, ecx
je 0x40166b
mov eax, dword [esi + 8]
jmp 0x401672
xor eax, eax
mov ecx, 0x476b1c
cmp eax, edx
jne 0x4016a2
add eax, ecx
mov dword [ebp - 0x1016c], eax
cmp ecx, eax
jae 0x4016ab
mov ebx, str.Hash
sub ebx, ecx
nop dword [eax]
mov al, byte [ecx]
cmp al, byte [ebx + ecx]
jne 0x4016a2
inc ecx
cmp ecx, dword [ebp - 0x1016c]
jb 0x401690
jmp 0x4016ab
mov esi, dword [esi + 0x2c]
test esi, esi
jne 0x401660
xor esi, esi
mov eax, dword [edi + 4]
test eax, eax
mov edi, 0x476b1c
mov ecx, edi
cmovne ecx, eax
mov eax, dword [esi + 4]
push ecx
test eax, eax
push str.https:__s3.jxcuukiem.com_update_
cmovne edi, eax
lea eax, [ebp - 0x118]
push str._s__s
push eax
call fcn.00403370
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
add esp, 0x10
mov edx, str.Downloading_Autoupdate.exe_..._n
call fcn.00403150
lea ecx, [ebp - 0x118]
call fcn.00401910
mov edx, edi
call fcn.00401a60
test al, al
je 0x401759
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Updating_Autoupdate.exe_..._n
call fcn.00403150
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 1
push str.autoupdate_bak.exe
push str.autoupdate.exe
call esi
push 1
push str.autoupdate.exe
push str.autoupdate_new.exe
call esi
push 1
push 0
push 0
push str.autoupdate.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Update_completed._n
jmp 0x401764
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Hash_verification_failed._Update_aborted._n
call fcn.00403150
lea ecx, [ebp - 0x10138]
call fcn.00401db0
mov ecx, dword [ebp - 0x124]
test ecx, ecx
je 0x4017b0
mov edx, dword [ebp - 0x11c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4017a6
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4017a6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0045e86e
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045e62e
mov esp, ebp
pop ebp
ret
cmp al, 0x3c
jne 0x401885
lea eax, [ecx + 1]
mov dword [ebp - 0x1016c], eax
lea ecx, [ebp - 0x10168]
lea eax, [ebp - 0x1016c]
push eax
call fcn.00403790
mov ecx, eax
test ecx, ecx
jne 0x401802
mov ecx, dword [ebp - 0x1016c]
jmp 0x401500
cmp dword [ebp - 0x10150], 0
je 0x40181f
mov eax, dword [ebp - 0x1014c]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 0x1014c]
mov dword [eax + 0x2c], ecx
jmp 0x40182c
mov dword [ecx + 0x28], 0
mov dword [ebp - 0x10150], ecx
mov dword [ebp - 0x1014c], ecx
lea eax, [ebp - 0x10168]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x2c], 0
mov ecx, dword [ebp - 0x1016c]
jmp 0x401500
push ecx
push 0x4725fc
lea ecx, [ebp - 0x10184]
call fcn.00401340
push 0x473d90
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3