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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6f18
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x4ec008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x27c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x26c], 0
lea eax, [ebp - 0x218]
movlpd qword [ebp - 0x264], xmm0
movlpd qword [ebp - 0x25c], xmm0
push 0x104
push eax
movlpd qword [ebp - 0x254], xmm0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x284], 0x3c
mov dword [ebp - 0x280], 0x40
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x278], str.open
mov dword [ebp - 0x270], str._F__IM_explorer.exe
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0xc
xor eax, eax
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 0
lea ecx, [ebp - 0x29c]
push str.taskkill.exe
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 7
mov word [ebp - 0x29c], ax
call fcn.004126a0
mov dword [ebp - 4], 0
xor eax, eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 7
mov word [ebp - 0x2d0], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413a03
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2d0]
call fcn.004126a0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x29c]
push eax
lea edx, [ebp - 0x2d0]
lea ecx, [ebp - 0x230]
call fcn.0047a4a0
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d0]
call fcn.00412640
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x29c]
call fcn.00412640
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0xffffffffffffffff
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xc
xor eax, eax
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 0
lea ecx, [ebp - 0x2b4]
push str.explorer.exe
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 7
mov word [ebp - 0x2b4], ax
call fcn.004126a0
mov byte [ebp - 4], 5
xor eax, eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 7
mov word [ebp - 0x2e8], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413b40
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2e8]
call fcn.004126a0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2b4]
push eax
lea edx, [ebp - 0x2e8]
lea ecx, [ebp - 0x248]
call fcn.0047a4a0
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2e8]
call fcn.00412640
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2b4]
call fcn.00412640
xor eax, eax
mov dword [ebp - 0x28c], 0
push eax
mov dword [ebp - 0x288], 0
lea ecx, [ebp - 0x29c]
push 0x4c3b5c
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 7
mov word [ebp - 0x29c], ax
call fcn.004126a0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x2b8]
push eax
sub esp, 8
mov dword [ebp - 0x2b8], 0
lea edx, [ebp - 0x29c]
lea ecx, [ebp - 0x248]
call fcn.0047b2f0
add esp, 0xc
test al, al
sete bl
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x29c]
call fcn.00412640
test bl, bl
je 0x413c91
xor eax, eax
mov dword [ebp - 0x2a4], 0
push eax
mov dword [ebp - 0x2a0], 0
lea ecx, [ebp - 0x2b4]
push 0x4c3b5c
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 7
mov word [ebp - 0x2b4], ax
call fcn.004126a0
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x2b4]
push 0
push ecx
lea ecx, [ebp - 0x248]
call fcn.0047b5f0
add esp, 8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2b4]
call fcn.00412640
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x248]
call fcn.00412640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00412640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4c33
mov esp, ebp
pop ebp
ret