Function at 0x40a2d0
Capabilities:
Create process on windows
Get common file path
Self delete

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58ca20
mov eax, dword fs:[0]
push eax
sub esp, 0x3c4
mov eax, dword [0x5f0e24]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.005640c0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x21c]
dec eax
nop word [eax + eax]
mov cl, byte [eax + 1]
lea eax, [eax + 1]
test cl, cl
jne 0x40a330
mov ecx, dword [str.uninstalluser.bat]
mov dword [eax], ecx
mov ecx, dword [0x5d0db0]
mov dword [eax + 4], ecx
mov ecx, dword [0x5d0db4]
mov dword [eax + 8], ecx
mov ecx, dword [0x5d0db8]
mov dword [eax + 0xc], ecx
mov cx, word [0x5d0dbc]
push 0xff
mov word [eax + 0x10], cx
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.005640c0
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0xff
lea ecx, [ebp - 0x114]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xff
lea eax, [ebp - 0x31c]
push 0
push eax
call fcn.005640c0
add esp, 0xc
xor ecx, ecx
mov al, byte [ebp + ecx - 0x114]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x31d], al
test al, al
jne 0x40a3b1
lea eax, [ebp - 0x31c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathA]
sub esp, 8
lea eax, [ebp - 0x21c]
lea ecx, [ebp - 0x3cc]
push 2
push eax
call fcn.0040a950
mov dword [ebp - 4], 0
cmp dword [ebp - 0x37c], 0
je 0x40a59d
mov edx, str._echo_off
lea ecx, [ebp - 0x3cc]
call fcn.0040aee0
push eax
call fcn.0040b180
add esp, 4
lea ecx, [ebp - 0x3cc]
mov edx, str.taskkill__F__IM__
call fcn.0040aee0
lea edx, [ebp - 0x31c]
mov ecx, eax
call fcn.0040aee0
mov edx, str.____nul
mov ecx, eax
call fcn.0040aee0
push eax
call fcn.0040b180
add esp, 4
lea ecx, [ebp - 0x3cc]
mov edx, str.del__f__q__
call fcn.0040aee0
lea edx, [ebp - 0x114]
mov ecx, eax
call fcn.0040aee0
mov edx, 0x5d0de8
mov ecx, eax
call fcn.0040aee0
push eax
call fcn.0040b180
add esp, 4
lea ecx, [ebp - 0x3cc]
mov edx, str.if_exist__
call fcn.0040aee0
lea edx, [ebp - 0x114]
mov ecx, eax
call fcn.0040aee0
mov edx, str.__goto_DELETE_FILE
mov ecx, eax
call fcn.0040aee0
push eax
call fcn.0040b180
add esp, 4
lea ecx, [ebp - 0x3cc]
mov edx, str.exit
call fcn.0040aee0
push eax
call fcn.0040b180
add esp, 4
lea ecx, [ebp - 0x3cc]
mov edx, str.:DELETE_FILE
call fcn.0040aee0
push eax
call fcn.0040b180
add esp, 4
lea ecx, [ebp - 0x3cc]
mov edx, str.del__f__q__
call fcn.0040aee0
lea edx, [ebp - 0x114]
mov ecx, eax
call fcn.0040aee0
mov edx, 0x5d0de8
mov ecx, eax
call fcn.0040aee0
push eax
call fcn.0040b180
add esp, 4
lea ecx, [ebp - 0x3cc]
mov edx, str.if_exist__
call fcn.0040aee0
lea edx, [ebp - 0x114]
mov ecx, eax
call fcn.0040aee0
mov edx, str.__goto_DELETE_FILE
mov ecx, eax
call fcn.0040aee0
push eax
call fcn.0040b180
add esp, 4
lea ecx, [ebp - 0x3c8]
call fcn.00406020
test eax, eax
jne 0x40a57b
mov eax, dword [ebp - 0x3cc]
lea ecx, [ebp - 0x3cc]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00408310
push 0
push 0
push 0
lea eax, [ebp - 0x21c]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x3cc]
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 - 0x3cc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x3d0], eax
lea ecx, [ebp - 0x3c8]
call fcn.00405760
mov eax, dword [ebp - 0x3cc]
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 - 0x3cc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x3d0], eax
lea eax, [ebp - 0x364]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00416494
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00561e7d
mov esp, ebp
pop ebp
ret