Function at 0x46bc50
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf74a
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x1a8]
call fcn.0044e640
lea eax, [ebp - 0x1a8]
mov dword [ebp - 4], 0
push eax
call fcn.0044ea90
add esp, 4
lea ecx, [ebp - 0xe8]
call fcn.004895d0
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 1
push eax
call fcn.0048fd60
add esp, 4
mov ecx, dword [ebp - 0x1b4]
lea edx, [ebp - 0xe8]
push 1
push edx
mov byte [ebp - 4], 2
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
je 0x46bf76
push 0
lea ecx, [ebp - 0xe8]
call fcn.00489710
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0044eee0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x46bf18
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0x44
push 0x5deb2c
lea ecx, [ebp - 0xe8]
movlpd qword [ebp - 0x68], xmm0
movups xmmword [ebp - 0x1c4], xmm0
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
call fcn.00489bb0
push str._uninstall
lea ecx, [ebp - 0x148]
call fcn.004893f0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xe8]
call fcn.00489b60
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 2
call fcn.00419a70
push 0x5deb2c
lea ecx, [ebp - 0xe8]
call fcn.00489bb0
push str._temp
lea ecx, [ebp - 0x148]
call fcn.004893f0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xe8]
call fcn.00489b60
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 2
call fcn.00419a70
lea ecx, [ebp - 0xe8]
call fcn.00489710
mov edx, eax
mov dword [ebp - 0x28], 0
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46be00
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0041b0d0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x1c4]
push ecx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 5
push ecx
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x46be92
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x46be86
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46be7c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46bfdf
push edx
push ecx
call fcn.004ece5f
add esp, 8
mov byte [ebp - 0x1a9], 1
jmp 0x46bf7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x46bed8
lea eax, [ebp - 0x148]
push esi
push eax
call fcn.0045e020
add esp, 8
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 6
call fcn.00489710
push eax
push esi
push str.Failed_to_launch_temp_installer__0x_08x_:_s_n
push edi
call fcn.0043a330
add esp, 0x10
lea ecx, [ebp - 0x148]
call fcn.00419a70
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x46bf76
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46bf0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46bfdf
push edx
push ecx
call fcn.004ece5f
add esp, 8
jmp 0x46bf76
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x46bf76
lea eax, [ebp - 0x88]
push esi
push eax
call fcn.0045e020
cmp dword [ebp - 0x74], 0x10
lea ecx, [ebp - 0x88]
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 7
cmovae ecx, dword [ebp - 0x88]
cmp dword [ebp - 0xd4], 0x10
push ecx
cmovae eax, dword [ebp - 0xe8]
push esi
push eax
push str.Failed_to_copy_installer_to__s__0x_08x_:_s_n
push edi
call fcn.0043a330
add esp, 0x1c
lea ecx, [ebp - 0x88]
call fcn.00419a70
mov byte [ebp - 0x1a9], 0
mov esi, dword [ebp - 0x1b0]
test esi, esi
je 0x46bfa8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x46bfa8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x46bfa8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
lea ecx, [ebp - 0xe8]
call fcn.00419a70
lea ecx, [ebp - 0x1a8]
call fcn.0044e660
mov al, byte [ebp - 0x1a9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret
call fcn.004f242f
int3