Function at 0x41860f
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc54
or dword [ebp - 4], 0xffffffff
push ebx
push esi
push edi
xor esi, esi
push 0x38
lea eax, [ebp - 0x40]
push esi
push eax
mov dword [ebp - 8], 0x4365b0
mov dword [ebp - 0x44], esi
call fcn.00424920
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x454], ax
lea eax, [ebp - 0x452]
push esi
push eax
call fcn.00424920
xor eax, eax
push edi
mov word [ebp - 0x24c], ax
lea eax, [ebp - 0x24a]
push esi
push eax
call fcn.00424920
mov ebx, 0x7ff
push ebx
lea eax, [ebp - 0xc53]
push esi
push eax
mov byte [ebp - 0xc54], 0
call fcn.00424920
add esp, 0x30
mov edi, 0x104
push edi
lea eax, [ebp - 0x454]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x24c]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
dec edi
test eax, eax
jne 0x4186f4
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x24c]
push edi
push eax
call fcn.0040ab6f
lea eax, [ebp - 0x24c]
push 0x5c
push eax
call fcn.00422a4d
add esp, 0x14
cmp eax, esi
je 0x4186e3
lea ecx, [ebp - 0x24c]
sub eax, ecx
sar eax, 1
jmp 0x4186e6
or eax, 0xffffffff
cmp eax, esi
jbe 0x4186f4
xor ecx, ecx
mov word [ebp + eax*2 - 0x24c], cx
push str.mtuninstall.bat
lea eax, [ebp - 0x24c]
push edi
push eax
call fcn.00423c35
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x54]
add esp, 0xc
test byte [eax + 0x840], 1
je 0x41874f
lea ecx, [ebp - 0x24c]
push ecx
add eax, 4
push eax
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x454]
push eax
push str.cd_r_n__S___processwait:_d_r_ndel__Q___S__r_nrd___S__r_ndel__Q___S__r_n
mov ecx, ebx
lea edi, [ebp - 0xc54]
call fcn.00418961
add esp, 0x18
jmp 0x418780
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x454]
push eax
push str.cd_r_n__S___processwait:_d_r_ndel__Q___S__r_ndel__Q___S__r_n
mov ecx, ebx
lea edi, [ebp - 0xc54]
call fcn.00418961
add esp, 0x14
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
test bl, bl
je 0x41884c
mov edi, 0x800
mov ecx, edi
lea eax, [ebp - 0xc54]
xor edx, edx
cmp byte [eax], dl
je 0x4187a7
inc eax
dec ecx
jne 0x41879f
cmp ecx, esi
jne 0x418855
mov edx, 0x80070057
xor edi, edi
cmp edx, esi
sete bl
test bl, bl
je 0x41884c
push 2
push 3
push 0x40000000
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 8]
call fcn.00401897
test al, al
je 0x41883d
push edi
lea eax, [ebp - 0xc54]
push eax
lea eax, [ebp - 8]
call fcn.0040ab0b
cmp eax, edi
jne 0x41883d
cmp dword [ebp - 4], 0xffffffff
je 0x418806
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x38], str.Open
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x40], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
inc bl
cmp dword [ebp - 4], 0xffffffff
je 0x41884c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4
sub edi, ecx
jmp 0x4187b6