Function at 0x40a9f0
Capabilities:
Copy file
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4875e6
mov eax, dword fs:[0]
push eax
mov eax, 0x18c8
call fcn.00468380
mov eax, dword [0x4af3d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x1050]
push 0
push eax
call fcn.00465300
add esp, 0xc
lea ecx, [ebp - 0x1050]
call fcn.0040afd0
push 0x208
lea eax, [ebp - 0xe48]
push 0
push eax
call fcn.00465300
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.00465300
add esp, 0xc
lea edx, [ebp - 0x218]
call fcn.0040c910
push str..exe
push str.speechtranslationking_uninst_worker
lea eax, [ebp - 0x218]
push eax
push 0
lea eax, [ebp - 0xe48]
push 0x104
push eax
call fcn.00472552
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.00465300
add esp, 0x24
lea ecx, [ebp - 0xc40]
call fcn.0040af20
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.00465300
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.00465300
add esp, 0xc
lea edx, [ebp - 0x218]
call fcn.0040c910
push str..exe
push str.speechtranslationking_inst
lea eax, [ebp - 0x218]
push eax
push 0
lea eax, [ebp - 0xa38]
push 0x104
push eax
call fcn.00472552
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0xa38]
add esp, 0x18
push 0
push eax
lea eax, [ebp - 0xc40]
push eax
call edi
push 0
lea eax, [ebp - 0xe48]
push eax
lea eax, [ebp - 0x1050]
push eax
call edi
push 0x208
push 0
test eax, eax
je 0x40ad7b
lea eax, [ebp - 0x1460]
push eax
call fcn.00465300
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x1460]
add esp, 0xc
push 0x104
push eax
push 0
call esi
push 0x104
lea eax, [ebp - 0x628]
push eax
push 0
call esi
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00465300
add esp, 0xc
lea eax, [ebp - 0x1258]
push 0x208
push 0
push eax
call fcn.00465300
add esp, 0xc
lea edx, [ebp - 0x1258]
call fcn.0040c910
push str..exe
push str.speechtranslationking_un_asa
lea eax, [ebp - 0x1258]
push eax
push 0
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00472552
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00465300
add esp, 0x24
lea edx, [ebp - 0x420]
call fcn.0040c910
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x1460]
push eax
call edi
test eax, eax
je 0x40af03
push str._instdir
lea ecx, [ebp - 0x18b8]
call fcn.00402460
mov dword [ebp - 4], 0
mov esi, 0x4b24c8
cmp dword [0x4b24dc], 8
mov ecx, eax
push 1
cmovae esi, dword [0x4b24c8]
push 0x4a6358
call fcn.00401d70
cmp word [ebp - 0x628], 0
mov edi, eax
jne 0x40ac75
xor ecx, ecx
jmp 0x40ac8f
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ac80
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
call fcn.00401d70
push 2
push 0x4a635c
mov ecx, eax
call fcn.00401d70
cmp word [esi], 0
mov edi, eax
jne 0x40acb8
xor ecx, ecx
jmp 0x40accf
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40acc0
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.00401d70
xor ecx, ecx
mov dword [ebp - 0x1874], 7
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x1888], cx
lea ecx, [ebp - 0x1888]
push eax
mov dword [ebp - 0x1878], 0
call fcn.00401fb0
mov eax, dword [ebp - 0x18a4]
cmp eax, 8
jb 0x40ad22
inc eax
lea ecx, [ebp - 0x18b8]
push eax
push dword [ebp - 0x18b8]
call fcn.004024c0
cmp dword [ebp - 0x1874], 8
lea ecx, [ebp - 0x420]
push 1
push ecx
lea eax, [ebp - 0x1888]
cmovae eax, dword [ebp - 0x1888]
push eax
lea eax, [ebp - 0x218]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x1874]
cmp eax, 8
jb 0x40af03
inc eax
lea ecx, [ebp - 0x1888]
push eax
push dword [ebp - 0x1888]
call fcn.004024c0
jmp 0x40af03
lea eax, [ebp - 0x1668]
push eax
call fcn.00465300
add esp, 0xc
lea eax, [ebp - 0x1668]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.00465300
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x208
push 0
push eax
call fcn.00465300
add esp, 0xc
lea edx, [ebp - 0x420]
call fcn.0040c910
push str..exe
push str.speechtranslationking_un_asa
lea eax, [ebp - 0x420]
push eax
push 0
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.00472552
push 0x208
lea eax, [ebp - 0x1870]
push 0
push eax
call fcn.00465300
add esp, 0x24
lea edx, [ebp - 0x1870]
call fcn.0040c910
push 1
push 0x4a5cd4
push 0x4a6364
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
je 0x40ae3a
push 0xffffffffffffffff
call fcn.00472992
push 0
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x1668]
push eax
call edi
test eax, eax
je 0x40af03
push str._instdir
lea ecx, [ebp - 0x18d0]
call fcn.00402460
push 0x4a6358
push str.Test
push 0x4a6358
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00401ea0
mov ecx, eax
call fcn.00401ea0
mov ecx, eax
call fcn.00401ea0
xor ecx, ecx
mov dword [ebp - 0x188c], 7
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x18a0], cx
lea ecx, [ebp - 0x18a0]
push eax
mov dword [ebp - 0x1890], 0
call fcn.00401fb0
lea ecx, [ebp - 0x18d0]
call fcn.00402590
cmp dword [ebp - 0x188c], 8
lea ecx, [ebp - 0x1870]
push 1
push ecx
lea eax, [ebp - 0x18a0]
cmovae eax, dword [ebp - 0x18a0]
push eax
lea eax, [ebp - 0x830]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x18a0]
call fcn.00402590
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.0046756e
mov esp, ebp
pop ebp
ret