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

Disassembly:
push 0xffffffffffffffff
push 0x44c192
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x461978]
xor eax, esp
mov dword [esp + 0x424], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x461978]
xor eax, esp
push eax
lea eax, [esp + 0x43c]
mov dword fs:[0], eax
push 0x104
lea eax, [esp + 0x2c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x402209
call fcn.00416705
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401f5f
push 0x80004005
call fcn.00403280
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x230]
push ecx
push 0x104
mov dword [esp + 0x44c], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x230]
push edx
lea eax, [esp + 0x20]
push str._sliangxia_deletebat.bat
push eax
call fcn.004033f0
add esp, 0xc
call fcn.00416705
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401fc1
push 0x80004005
call fcn.00403280
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
mov byte [esp + 0x444], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401fe0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x20]
call fcn.00403170
mov esi, dword [esp + 0x18]
push 0x5c
push esi
call fcn.004302f0
add esp, 8
test eax, eax
je 0x40201a
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x402062
lea eax, [esi - 0x10]
mov byte [esp + 0x444], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40203e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x444], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x402282
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.004026b0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x448], 2
call fcn.00403670
mov byte [esp + 0x444], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4020ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00416705
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4020c5
push 0x80004005
call fcn.00403280
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x444], 3
mov edi, dword [esp + 0x18]
push edi
push edi
push edi
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x24]
push str._echo_off_r_nfor__L_____a_in__1___1__0__do___r_ndel__q___s__r_ndel__q___smfc120u.dll__r_ndel__q___smsvcp120.dll__r_ndel__q___smsvcr120.dll__r_nping__n_2_localhost_1_nul_2_nul_r_ncls_r_n__r_ndel___0
push edx
call fcn.004033f0
mov ebx, dword [esp + 0x2c]
add esp, 0x14
lea esi, [ebx - 0x10]
mov dword [esp + 0x28], esp
mov ebp, esp
push esi
call fcn.004036f0
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x44c], 4
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x28], esp
add ebp, 0xfffffff0
mov dword [esp + 0x28], esp
push ebp
call fcn.004036f0
mov ecx, dword [esp + 0x2c]
add eax, 0x10
mov dword [ecx], eax
add esp, 4
mov byte [esp + 0x44c], 3
call fcn.00401d90
add esp, 8
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0
lea edx, [esp + 0x2c]
push edx
push 5
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov eax, dword [esp + 0x1c]
push 0
push 0
push ebx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [esp + 0x444], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4021b7
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add edi, 0xfffffff0
mov byte [esp + 0x444], 0
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4021db
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov dword [esp + 0x444], 0xffffffff
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40228e
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
jmp 0x40228e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.00416705
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40222b
push 0x80004005
call fcn.00403280
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push esi
lea ecx, [esp + 0x18]
push 0x4541cc
push ecx
mov dword [esp + 0x450], 5
call fcn.004033f0
mov esi, dword [esp + 0x20]
add esp, 0xc
push 0
push 0
push esi
call fcn.00416667
lea eax, [esi - 0x10]
mov dword [esp + 0x444], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40228e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x43c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x424]
xor ecx, esp
call fcn.004306d1
add esp, 0x434
ret