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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58f120
mov eax, dword fs:[0]
push eax
sub esp, 0x3c4
mov eax, dword [0x5f3e24]
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.00564e00
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 0x40ac60
mov ecx, dword [str.uninstalluser.bat]
mov dword [eax], ecx
mov ecx, dword [0x5d40c0]
mov dword [eax + 4], ecx
mov ecx, dword [0x5d40c4]
mov dword [eax + 8], ecx
mov ecx, dword [0x5d40c8]
mov dword [eax + 0xc], ecx
mov cx, word [0x5d40cc]
push 0xff
mov word [eax + 0x10], cx
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00564e00
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.00564e00
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 0x40ace1
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.0040b7f0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x37c], 0
je 0x40aecd
mov edx, str._echo_off
lea ecx, [ebp - 0x3cc]
call fcn.00406910
push eax
call fcn.0040be80
add esp, 4
lea ecx, [ebp - 0x3cc]
mov edx, str.taskkill__F__IM__
call fcn.00406910
lea edx, [ebp - 0x31c]
mov ecx, eax
call fcn.00406910
mov edx, str.____nul
mov ecx, eax
call fcn.00406910
push eax
call fcn.0040be80
add esp, 4
lea ecx, [ebp - 0x3cc]
mov edx, str.del__f__q__
call fcn.00406910
lea edx, [ebp - 0x114]
mov ecx, eax
call fcn.00406910
mov edx, 0x5d40f8
mov ecx, eax
call fcn.00406910
push eax
call fcn.0040be80
add esp, 4
lea ecx, [ebp - 0x3cc]
mov edx, str.if_exist__
call fcn.00406910
lea edx, [ebp - 0x114]
mov ecx, eax
call fcn.00406910
mov edx, str.__goto_DELETE_FILE
mov ecx, eax
call fcn.00406910
push eax
call fcn.0040be80
add esp, 4
lea ecx, [ebp - 0x3cc]
mov edx, str.exit
call fcn.00406910
push eax
call fcn.0040be80
add esp, 4
lea ecx, [ebp - 0x3cc]
mov edx, str.:DELETE_FILE
call fcn.00406910
push eax
call fcn.0040be80
add esp, 4
lea ecx, [ebp - 0x3cc]
mov edx, str.del__f__q__
call fcn.00406910
lea edx, [ebp - 0x114]
mov ecx, eax
call fcn.00406910
mov edx, 0x5d40f8
mov ecx, eax
call fcn.00406910
push eax
call fcn.0040be80
add esp, 4
lea ecx, [ebp - 0x3cc]
mov edx, str.if_exist__
call fcn.00406910
lea edx, [ebp - 0x114]
mov ecx, eax
call fcn.00406910
mov edx, str.__goto_DELETE_FILE
mov ecx, eax
call fcn.00406910
push eax
call fcn.0040be80
add esp, 4
lea ecx, [ebp - 0x3c8]
call fcn.004062a0
test eax, eax
jne 0x40aeab
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.00408920
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.004059e0
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.0041734a
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.00562bba
mov esp, ebp
pop ebp
ret