Function at 0x404a50
Capabilities:
Create process on windows
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cbe6
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push esi
push edi
mov eax, dword [0x495580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], ecx
mov edi, dword [ebp + 8]
mov ecx, edi
movzx esi, di
mov dword [ebp - 0x20], 0
call fcn.00412fc0
mov ecx, 0x8664
mov dword [ebp - 0x28], eax
cmp si, cx
je 0x404ad6
mov ecx, 0xaa64
cmp di, cx
je 0x404acd
push eax
push str.Error:_unspported_platform__s
push dword [ebp + 0xc]
call fcn.00403530
add esp, 0xc
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x14], 0x51c060
jmp 0x404add
mov dword [ebp - 0x14], 0x4ae060
lea ecx, [ebp + 8]
call fcn.0040dcf0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
mov edx, dword [eax]
call fcn.0040d5c0
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404b11
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
mov byte [ebp - 4], 5
call fcn.004363ea
mov ecx, eax
mov byte [ebp - 4], 4
test ecx, ecx
je 0x404d24
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edx, [edi + 1]
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], 1
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
test edx, edx
js 0x404d1a
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, edx
or eax, ecx
jge 0x404b7d
push edx
lea ecx, [ebp + 8]
call fcn.004041a0
mov esi, dword [ebp + 8]
lea edx, [edi + 1]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp edi, 0xffffffff
jne 0x404b98
push dword [esi - 8]
push esi
call fcn.004545da
add esp, 8
mov edi, eax
test edi, edi
js 0x404d1a
cmp edi, dword [esi - 8]
jg 0x404d1a
push dword [ebp - 0x24]
xor eax, eax
mov dword [esi - 0xc], edi
mov edx, esi
mov word [esi + edi*2], ax
lea ecx, [ebp - 0x10]
call fcn.0040d7d0
add esp, 4
or edi, 0xffffffff
mov byte [ebp - 4], 7
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x404be0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
test edx, edx
jne 0x404beb
xor ecx, ecx
jmp 0x404bff
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404bf0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.004037d0
push 4
push str..exe
lea ecx, [ebp - 0x10]
call fcn.004037d0
mov edx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004048c0
push 0x44
mov byte [ebp + 0xb], al
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.0044cff0
or dword [ebp - 0x58], 1
add esp, 0x10
cmp byte [ebp + 0xb], 0
xorps xmm0, xmm0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x84], 0x44
mov word [ebp - 0x54], ax
movups xmmword [ebp - 0x40], xmm0
je 0x404cc3
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x84]
push eax
push 0
push 0
push 0x4000000
push 0
push 0
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x404cc3
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0xffffffffffffffff
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x40]
call esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [ebp - 0x18]
jmp 0x404cd5
mov ecx, dword [ebp + 0xc]
push 0x33
push str.Error:_cannot_start_64_bit_version_of_the_installer
call fcn.00403e20
or esi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404cef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x404d07
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00404410
push 0x80004005
call fcn.00404410
int3