Function at 0x40123a
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 8
call fcn.00405033
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x40c3d8
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push 0x40c230
xor eax, eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x401293
push 0x4e
push 0x4010001
push 6
call fcn.00405039
add esp, 0xc
push VariantClear
push 0
push str.Searching_Autodesk_Genuine_Service_package..._r_n
push 0
push 0
push 0
push 2
mov ebx, 0x904
call fcn.00405460
add esp, 0x1c
lea eax, [ebp - 4]
push eax
call fcn.00401af2
mov ebx, dword [ebp - 4]
call fcn.004010b6
mov eax, 2
cmp eax, ecx
jl 0x4012e8
push 0x12c
push 0x4010001
push 1
call fcn.00405039
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0xc], ebx
push 0x40c294
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call fcn.004010d6
add esp, 8
cmp eax, 0
jne 0x401361
push VariantClear
push 0
push str.No_Autodesk_Genuine_Service_package_found.__1__r_n
push 0
push 0
push 0
push 2
mov ebx, 0x904
call fcn.00405460
add esp, 0x1c
push 1
mov eax, str.Press_any_key_to_exit.
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004023b6
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401352
push ebx
call fcn.00405045
add esp, 4
mov eax, 1
jmp 0x401a8f
mov ebx, dword [ebp - 4]
call fcn.004010b6
mov eax, 2
cmp eax, ecx
jl 0x401389
push 0x206
push 0x4010001
push 1
call fcn.00405039
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0xc], ebx
push str.__found._r_n
mov ebx, dword [ebp - 0xc]
push dword [ebx]
push str.Autodesk_Genuine_Service__Version:
mov ecx, 3
call fcn.004011de
add esp, 0xc
mov dword [ebp - 0x10], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4013c3
mov eax, 0x40c294
push eax
push 0
push 0
push 0
push 2
mov ebx, 0x904
call fcn.00405460
add esp, 0x1c
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4013ec
push ebx
call fcn.00405045
add esp, 4
push VariantClear
push 0
push str.Backup_Autodesk_Genuine_Service_install_package..._r_n
push 0
push 0
push 0
push 2
mov ebx, 0x904
call fcn.00405460
add esp, 0x1c
mov ebx, dword [ebp - 4]
call fcn.004010b6
mov eax, 0
cmp eax, ecx
jl 0x401438
push 0x2ef
push 0x4010001
push 1
call fcn.00405039
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0xc], ebx
push 0x40c294
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call fcn.004010d6
add esp, 8
cmp eax, 0
jne 0x4014ad
mov ebx, dword [ebp - 4]
call fcn.004010b6
mov eax, 1
cmp eax, ecx
jl 0x401483
push 0x315
push 0x4010001
push 1
call fcn.00405039
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
push 0x40c294
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call fcn.004010d6
add esp, 8
cmp eax, 0
jne 0x4014ad
mov eax, 1
jmp 0x4014b2
mov eax, 0
test eax, eax
je 0x401510
push VariantClear
push 0
push str.Backup_install_file_failed.__2__r_n
push 0
push 0
push 0
push 2
mov ebx, 0x904
call fcn.00405460
add esp, 0x1c
push 1
mov eax, str.Press_any_key_to_exit.
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004023b6
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401501
push ebx
call fcn.00405045
add esp, 4
mov eax, 2
jmp 0x401a8f
mov ebx, dword [ebp - 4]
call fcn.004010b6
mov eax, 0
cmp eax, ecx
jl 0x401538
push 0x401
push 0x4010001
push 1
call fcn.00405039
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0xc], ebx
push 0x40c294
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call fcn.004010d6
add esp, 8
cmp eax, 0
je 0x401619
mov ebx, dword [ebp - 4]
call fcn.004010b6
mov eax, 0
cmp eax, ecx
jl 0x401583
push 0x428
push 0x4010001
push 1
call fcn.00405039
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0xc], ebx
push 0
mov ebx, 0x104
call fcn.00405550
add esp, 4
mov dword [ebp - 0x10], eax
push str.Autodesk_Genuine_Service.msi
push dword [ebp - 0x10]
mov ecx, 2
call fcn.004011de
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4015c8
push ebx
call fcn.00405045
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4015db
mov eax, 0x40c294
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4015f1
mov eax, 0x40c294
push eax
push 2
mov ebx, 0x23c
call fcn.004055e0
add esp, 0x1c
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401614
push ebx
call fcn.00405045
add esp, 4
jmp 0x4016d2
mov ebx, dword [ebp - 4]
call fcn.004010b6
mov eax, 1
cmp eax, ecx
jl 0x401641
push 0x486
push 0x4010001
push 1
call fcn.00405039
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0xc], ebx
push 0
mov ebx, 0x104
call fcn.00405550
add esp, 4
mov dword [ebp - 0x10], eax
push str.Autodesk_Genuine_Service.msi
push dword [ebp - 0x10]
mov ecx, 2
call fcn.004011de
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401686
push ebx
call fcn.00405045
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x401699
mov eax, 0x40c294
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4016af
mov eax, 0x40c294
push eax
push 2
mov ebx, 0x23c
call fcn.004055e0
add esp, 0x1c
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4016d2
push ebx
call fcn.00405045
add esp, 4
push 0
mov ebx, 0x104
call fcn.00405550
add esp, 4
mov dword [ebp - 0xc], eax
push str.Autodesk_Genuine_Service.msi
push dword [ebp - 0xc]
mov ecx, 2
call fcn.004011de
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40170f
push ebx
call fcn.00405045
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
call fcn.004024ef
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401737
push ebx
call fcn.00405045
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40174b
push ebx
call fcn.00405045
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x40c294
push dword [ebp - 8]
call fcn.004010d6
add esp, 8
cmp eax, 0
jne 0x4017be
push VariantClear
push 0
push str.Backup_install_file_failed.__3__r_n
push 0
push 0
push 0
push 2
mov ebx, 0x904
call fcn.00405460
add esp, 0x1c
push 1
mov eax, str.Press_any_key_to_exit.
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004023b6
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4017af
push ebx
call fcn.00405045
add esp, 4
mov eax, 3
jmp 0x401a8f
push 0
mov ebx, 0x104
call fcn.00405550
add esp, 4
mov dword [ebp - 0xc], eax
push str.DetectTools.log
push dword [ebp - 0xc]
mov ecx, 2
call fcn.004011de
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4017fb
push ebx
call fcn.00405045
add esp, 4
mov ebx, dword [ebp - 4]
call fcn.004010b6
mov eax, 2
cmp eax, ecx
jl 0x401823
push 0x6cf
push 0x4010001
push 1
call fcn.00405039
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
push 0
mov ebx, 0x104
call fcn.00405550
add esp, 4
mov dword [ebp - 0x18], eax
push str.Autodesk_Genuine_Service.msi
push dword [ebp - 0x18]
mov ecx, 2
call fcn.004011de
add esp, 8
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401868
push ebx
call fcn.00405045
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40187b
mov eax, 0x40c294
push eax
push 1
mov ebx, 0x268
call fcn.00405600
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4018a1
push ebx
call fcn.00405045
add esp, 4
lea eax, [ebp - 0x20]
push eax
call fcn.00402adc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4018bd
push ebx
call fcn.00405045
add esp, 4
push dword [ebp - 0x24]
push str._r_nSHA_256:
push dword [ebp - 8]
push str._r_nFile_size:
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push str.Version:
mov ecx, 6
call fcn.004011de
add esp, 0x18
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4018f7
push ebx
call fcn.00405045
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x40190a
mov eax, 0x40c294
push eax
push 1
mov ebx, 0x198
call fcn.00405830
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401930
push ebx
call fcn.00405045
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x401943
mov eax, 0x40c3d8
push eax
push VariantClear
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x401957
mov eax, 0x40c294
push eax
push 2
mov ebx, 0x26c
call fcn.00405900
add esp, 0x1c
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40197a
push ebx
call fcn.00405045
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40198a
push ebx
call fcn.00405045
add esp, 4
push VariantClear
push 0
push str.Backup_Success__r_n
push 0
push 0
push 0
push 2
mov ebx, 0x904
call fcn.00405460
add esp, 0x1c
push 0
mov ebx, 0x104
call fcn.00405550
add esp, 4
mov dword [ebp - 0xc], eax
push str.DetectTools.log_
push dword [ebp - 0xc]
push str.notepad.exe__
mov ecx, 3
call fcn.004011de
add esp, 0xc
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4019f0
push ebx
call fcn.00405045
add esp, 4
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 0x10]
push eax
call fcn.00403746
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401a55
push ebx
call fcn.00405045
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401a65
push ebx
call fcn.00405045
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401a75
push ebx
call fcn.00405045
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401a85
push ebx
call fcn.00405045
add esp, 4
mov eax, 0
jmp 0x401a8f
push eax
mov ebx, dword [ebp - 4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x401aae
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x401aaa
imul eax, dword [ebx]
jmp 0x401a9f
mov ecx, eax
test ecx, ecx
je 0x401acd
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x401ac6
push ebx
push eax
call fcn.00405045
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x401ab4
call fcn.00405045
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401ae5
push ebx
call fcn.00405045
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret