Function at 0x407090
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4287dc
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x439050]
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 eax, dword [ebp + 0x10]
push ecx
mov dword [ebp - 0xe4], eax
call fcn.004063c0
add esp, 4
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
test al, al
jne 0x407109
push 0x5a
push str.This_application_requires_Windows_7_SP1_or_later_and_cannot_be_installed_on_this_computer.
call fcn.00405920
call fcn.00404bc0
add esp, 0x18
jmp 0x40792a
push 3
push 0x435f08
call fcn.00405920
lea ecx, [ebp - 0x44]
call fcn.00404860
mov ecx, esp
mov dword [ebp - 4], 0
push 5
push str.nupkg
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.00405920
lea ecx, [ebp - 0x2c]
call fcn.00404860
add esp, 0x18
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x10c], 0
mov byte [ebp - 4], 2
call fcn.00404b20
sub esp, 8
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.00404e40
mov byte [ebp - 4], 2
add esp, 8
mov ecx, dword [ebp - 0x15c]
mov edi, eax
mov dword [ebp - 0x10c], edi
cmp ecx, 8
jb 0x4071c7
mov edx, dword [ebp - 0x170]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4071bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40794a
push ecx
push edx
call fcn.0040af75
add esp, 8
xor eax, eax
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 7
mov word [ebp - 0x170], ax
test edi, edi
je 0x40794f
mov ecx, dword [0x439ac0]
mov eax, dword [0x439ac4]
mov esi, dword [0x439ac8]
mov edx, dword [0x439acc]
mov dword [ebp - 0x100], esi
lea esi, [ecx + edi]
or ecx, eax
mov dword [ebp - 0x108], esi
mov esi, dword [ebp - 0x100]
mov dword [ebp - 0x104], edx
je 0x407a27
mov eax, esi
or eax, edx
je 0x407a27
mov ecx, esi
mov eax, esi
mov esi, edx
shld esi, eax, 1
add eax, eax
add ecx, eax
adc edx, esi
add ecx, 0x2faf080
adc edx, 0
call fcn.004281e0
mov esi, dword [ebp - 0x100]
mov ecx, esi
mov edx, dword [ebp - 0x104]
movsd qword [ebp - 0xfc], xmm0
call fcn.004281e0
divsd xmm0, qword [0x436348]
addsd xmm0, qword [ebp - 0xfc]
call fcn.004280d0
mov ecx, edx
mov dword [ebp - 0xf8], eax
push ecx
push eax
mov dword [ebp - 0x110], ecx
call fcn.00404a40
add esp, 8
lea ecx, [ebp - 0x1a0]
test al, al
je 0x407970
lea eax, [ebp - 0x44]
push eax
call fcn.004057f0
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], vtable.std::_Func_impl_no_alloc_class__lambda_9404225f4bd788e3821abab473a43f81___bool__struct_mz_zip_archive_file_stat__.0
mov dword [ebp - 0x60], eax
push eax
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1a0]
mov ecx, esp
push eax
call fcn.004057f0
mov ecx, dword [ebp - 0x108]
mov edx, esi
call fcn.00405030
mov ecx, dword [ebp - 0x60]
add esp, 0x1c
test ecx, ecx
je 0x407318
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x84]
cmp ecx, eax
mov ecx, esi
setne al
push eax
call dword [0x429180]
mov ecx, dword [ebp - 0x60]
call esi
mov esi, dword [ebp - 0x100]
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18c]
cmp ecx, 8
jb 0x40735c
mov edx, dword [ebp - 0x1a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407352
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4079c6
push ecx
push edx
call fcn.0040af75
add esp, 8
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x250]
cmovae eax, dword [ebp - 0x2c]
sub esp, 0xc
push eax
call fcn.004093e0
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x254], eax
push dword [ebp - 0x104]
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 8
push esi
push dword [ebp - 0x108]
call fcn.00408af0
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x254], eax
lea ecx, [ebp - 0x24c]
call fcn.00408690
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x254], eax
lea eax, [ebp - 0x1e8]
mov byte [ebp - 4], 9
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0040a632
mov byte [ebp - 4], 2
mov eax, 0x7ffffffe
mov ecx, dword [ebp - 0x34]
add esp, 4
sub eax, ecx
cmp eax, 1
jb 0x4079cb
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
push 1
push 0x43617c
push ecx
push dword [ebp - 0xf8]
lea ecx, [ebp - 0x140]
call fcn.004060e0
push str.____setup__
lea edx, [ebp - 0x140]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x158]
call fcn.00405c40
add esp, 4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
push ecx
mov ecx, eax
call fcn.00405a80
mov dword [ebp - 0x128], 0
xor ecx, ecx
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x128], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x118], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x43615c
lea edx, [ebp - 0x128]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x188]
call fcn.00405c40
add esp, 4
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x5c]
push dword [ebp - 0xe4]
mov edx, eax
call fcn.00405c40
add esp, 4
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x174]
cmp ecx, 8
jb 0x407558
mov edx, dword [ebp - 0x188]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40754e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4079d0
push ecx
push edx
call fcn.0040af75
add esp, 8
xor eax, eax
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 7
mov word [ebp - 0x188], ax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x114]
cmp ecx, 8
jb 0x4075b9
mov edx, dword [ebp - 0x128]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4075af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4079d0
push ecx
push edx
call fcn.0040af75
add esp, 8
xor eax, eax
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 7
mov word [ebp - 0x128], ax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x144]
cmp ecx, 8
jb 0x40761a
mov edx, dword [ebp - 0x158]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407610
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4079d0
push ecx
push edx
call fcn.0040af75
add esp, 8
xor eax, eax
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 7
mov word [ebp - 0x158], ax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x12c]
cmp ecx, 8
jb 0x40767b
mov edx, dword [ebp - 0x140]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407671
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4079d0
push ecx
push edx
call fcn.0040af75
add esp, 8
xor eax, eax
mov dword [ebp - 0x130], 0
cmp dword [ebp - 0x48], 8
mov word [ebp - 0x140], ax
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
mov dword [ebp - 0x12c], 7
call fcn.0041112f
add esp, 4
mov dword [ebp - 0xc8], 0x44
xor ecx, ecx
mov dword [ebp - 0x9c], 1
mov word [ebp - 0x86], cx
xorps xmm0, xmm0
mov ecx, 5
movlpd qword [ebp - 0xc4], xmm0
mov word [ebp - 0x98], cx
lea ecx, [ebp - 0xf4]
push ecx
lea ecx, [ebp - 0xc8]
movlpd qword [ebp - 0xbc], xmm0
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
movlpd qword [ebp - 0xb4], xmm0
movlpd qword [ebp - 0xac], xmm0
movlpd qword [ebp - 0xa4], xmm0
movlpd qword [ebp - 0x96], xmm0
movlpd qword [ebp - 0x8e], xmm0
movups xmmword [ebp - 0xf4], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x407763
sub esp, 0x18
mov ecx, esp
push 0x20
push str.Unable_to_start_install_process.
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
call fcn.00405920
call fcn.004047b0
add esp, 0x18
push 0xffffffffffffffff
push dword [ebp - 0xf4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0
push eax
push dword [ebp - 0xf4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0xe4]
test eax, eax
push dword [ebp - 0xf4]
mov edx, 0xfffffff7
cmove ecx, edx
mov dword [ebp - 0xe4], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xf0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xe4]
test edx, edx
jne 0x4079d5
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x407804
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4077fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407a22
push ecx
push edx
call fcn.0040af75
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
jmp 0x407877
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x4078dc
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4078d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407a48
push ecx
push edx
call fcn.0040af75
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp ecx, 8
jb 0x40792a
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407920
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407a48
push ecx
push edx
call fcn.0040af75
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.0040ad3a
mov esp, ebp
pop ebp
ret 0x10
call fcn.004126fd
push str.Unable_to_memmap_current_executable._Is_there_enough_available_system_memory_
lea ecx, [ebp - 0x268]
call fcn.004057a0
push 0x4383d4
lea eax, [ebp - 0x268]
push eax
call fcn.0040c1bc
push dword [ebp - 0x110]
push dword [ebp - 0xf8]
call fcn.00405550
add esp, 8
push eax
mov edx, str.Insufficient_disk_space._This_application_requires_at_least
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x158]
call fcn.00405de0
add esp, 4
push str._free_space_to_be_installed.
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x280]
call fcn.00405c40
add esp, 4
lea eax, [ebp - 0x280]
push 0x4383d4
push eax
call fcn.0040c1bc
call fcn.004126fd
call fcn.00404580
call fcn.004126fd
lea ecx, [ebp - 0x2c8]
call fcn.00404590
push eax
mov edx, str.Process_exited_with_error_code:
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2e0]
call fcn.00405de0
add esp, 4
push str.._There_may_be_more_detailed_information_in__localappdata_SquirrelClowdTempSquirrel.log.
mov edx, eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x298]
call fcn.00405c40
add esp, 4
lea eax, [ebp - 0x298]
push 0x4383d4
push eax
call fcn.0040c1bc
call fcn.004126fd
push str.The_embedded_package_containing_the_application_to_install_was_not_found._Please_contact_the_application_author.
lea ecx, [ebp - 0x2b0]
call fcn.004057a0
push 0x4383d4
lea eax, [ebp - 0x2b0]
push eax
call fcn.0040c1bc
call fcn.004126fd
int3