Function at 0x4182bf
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], 0x437584
mov dword [ebp - 0x44], esi
call fcn.004237a0
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x454], ax
lea eax, [ebp - 0x452]
push esi
push eax
call fcn.004237a0
xor eax, eax
push edi
mov word [ebp - 0x24c], ax
lea eax, [ebp - 0x24a]
push esi
push eax
call fcn.004237a0
mov ebx, 0x7ff
push ebx
lea eax, [ebp - 0xc53]
push esi
push eax
mov byte [ebp - 0xc54], 0
call fcn.004237a0
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 0x4183a4
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x24c]
push edi
push eax
call fcn.0040a93d
lea eax, [ebp - 0x24c]
push 0x5c
push eax
call fcn.004219ab
add esp, 0x14
cmp eax, esi
je 0x418393
lea ecx, [ebp - 0x24c]
sub eax, ecx
sar eax, 1
jmp 0x418396
or eax, 0xffffffff
cmp eax, esi
jbe 0x4183a4
xor ecx, ecx
mov word [ebp + eax*2 - 0x24c], cx
push str.mtuninstall.bat
lea eax, [ebp - 0x24c]
push edi
push eax
call fcn.00422cc5
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x54]
add esp, 0xc
test byte [eax + 0x840], 1
je 0x4183ff
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.0041863f
add esp, 0x18
jmp 0x418430
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.0041863f
add esp, 0x14
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
test bl, bl
je 0x4184fc
mov edi, 0x800
mov ecx, edi
lea eax, [ebp - 0xc54]
xor edx, edx
cmp byte [eax], dl
je 0x418457
inc eax
dec ecx
jne 0x41844f
cmp ecx, esi
jne 0x418505
mov edx, 0x80070057
xor edi, edi
cmp edx, esi
sete bl
test bl, bl
je 0x4184fc
push 2
push 3
push 0x40000000
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 8]
call fcn.00401877
test al, al
je 0x4184ed
push edi
lea eax, [ebp - 0xc54]
push eax
lea eax, [ebp - 8]
call fcn.0040a8d5
cmp eax, edi
jne 0x4184ed
cmp dword [ebp - 4], 0xffffffff
je 0x4184b6
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 0x4184fc
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 0x418466