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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590530
mov eax, dword fs:[0]
push eax
sub esp, 0x3c4
mov eax, dword [0x5f4e24]
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.00565b20
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 0x40ae50
mov ecx, dword [str.uninstalluser.bat]
mov dword [eax], ecx
mov ecx, dword [0x5d4f20]
mov dword [eax + 4], ecx
mov ecx, dword [0x5d4f24]
mov dword [eax + 8], ecx
mov ecx, dword [0x5d4f28]
mov dword [eax + 0xc], ecx
mov cx, word [0x5d4f2c]
push 0xff
mov word [eax + 0x10], cx
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00565b20
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.00565b20
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 0x40aed1
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.0040b8f0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x37c], 0
je 0x40b0bd
mov edx, str._echo_off
lea ecx, [ebp - 0x3cc]
call fcn.0040bf70
push eax
call fcn.0040c210
add esp, 4
lea ecx, [ebp - 0x3cc]
mov edx, str.taskkill__F__IM__
call fcn.0040bf70
lea edx, [ebp - 0x31c]
mov ecx, eax
call fcn.0040bf70
mov edx, str.____nul
mov ecx, eax
call fcn.0040bf70
push eax
call fcn.0040c210
add esp, 4
lea ecx, [ebp - 0x3cc]
mov edx, str.del__f__q__
call fcn.0040bf70
lea edx, [ebp - 0x114]
mov ecx, eax
call fcn.0040bf70
mov edx, 0x5d4f58
mov ecx, eax
call fcn.0040bf70
push eax
call fcn.0040c210
add esp, 4
lea ecx, [ebp - 0x3cc]
mov edx, str.if_exist__
call fcn.0040bf70
lea edx, [ebp - 0x114]
mov ecx, eax
call fcn.0040bf70
mov edx, str.__goto_DELETE_FILE
mov ecx, eax
call fcn.0040bf70
push eax
call fcn.0040c210
add esp, 4
lea ecx, [ebp - 0x3cc]
mov edx, str.exit
call fcn.0040bf70
push eax
call fcn.0040c210
add esp, 4
lea ecx, [ebp - 0x3cc]
mov edx, str.:DELETE_FILE
call fcn.0040bf70
push eax
call fcn.0040c210
add esp, 4
lea ecx, [ebp - 0x3cc]
mov edx, str.del__f__q__
call fcn.0040bf70
lea edx, [ebp - 0x114]
mov ecx, eax
call fcn.0040bf70
mov edx, 0x5d4f58
mov ecx, eax
call fcn.0040bf70
push eax
call fcn.0040c210
add esp, 4
lea ecx, [ebp - 0x3cc]
mov edx, str.if_exist__
call fcn.0040bf70
lea edx, [ebp - 0x114]
mov ecx, eax
call fcn.0040bf70
mov edx, str.__goto_DELETE_FILE
mov ecx, eax
call fcn.0040bf70
push eax
call fcn.0040c210
add esp, 4
lea ecx, [ebp - 0x3c8]
call fcn.00405fb0
test eax, eax
jne 0x40b09b
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.00408230
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.004055d0
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.00417994
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.005638db
mov esp, ebp
pop ebp
ret