Function at 0x4028a0
Capabilities:
Access peb ldr_data
Check if file exists
Create process on windows
Delete file
Print debug messages
Write and execute a file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x421a2f
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x42bb00]
xor eax, esp
mov dword [esp + 0x16c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42bb00]
xor eax, esp
push eax
lea eax, [esp + 0x184]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x194]
push eax
lea ecx, [esp + 0x1c]
push str.Msg:_Chkdsk_List_
xor ebx, ebx
push ecx
mov dword [esp + 0x198], ebx
call fcn.00403100
push 0x426d24
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x1a4], 1
call fcn.00403020
mov eax, dword [eax]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
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
jg 0x402941
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x18c], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402968
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.wxSLock.exe
add esi, 0xa4
lea ecx, [esp + 0x24]
push esi
push ecx
call fcn.00403020
add esp, 0xc
mov byte [esp + 0x18c], 2
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4029b3
mov eax, dword [esi]
push 1
push eax
mov eax, dword [esp + 0x28]
push str.lockpassword
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
call fcn.004042dd
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4029cd
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x18c], 3
call fcn.004032a0
call fcn.004042dd
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x402a08
push 0x80004005
call fcn.00401090
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 + 0x1c]
mov byte [esp + 0x18c], 4
call fcn.004032a0
push str.chk.bat
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.00403020
add esp, 0xc
mov byte [esp + 0x18c], 5
mov eax, dword [esp + 0x194]
xor esi, esi
cmp dword [eax - 0xc], ebx
jle 0x402ba7
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esp, [esp]
cmp esi, ebx
jl 0x402cd4
cmp esi, dword [eax - 0xc]
jg 0x402cd4
movsx edx, byte [esi + eax]
push edx
lea eax, [esp + 0x1c]
push 0x426e1c
push eax
call fcn.00403980
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ebx
push ebx
push 2
push ebx
push ebx
push 0x10000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0x103
lea edx, [esp + 0x81]
push ebx
push edx
mov edi, eax
mov dword [esp + 0x30], ebx
mov byte [esp + 0x88], bl
call fcn.004123a0
mov eax, dword [esp + 0x1a0]
add esp, 0xc
cmp esi, dword [eax - 0xc]
jg 0x402cd4
movsx eax, byte [esi + eax]
push eax
push str.echo_nCHKDSK.exe__c:__f__x
lea edx, [esp + 0x84]
call fcn.004039a0
add esp, 8
lea ecx, [esp + 0x7c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [esp + 0x7c]
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x402b00
push ebx
lea edx, [esp + 0x28]
push edx
sub eax, ecx
push eax
lea eax, [esp + 0x88]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call ebp
push 0x40
lea ecx, [esp + 0x40]
push ebx
push ecx
call fcn.004123a0
mov eax, dword [esp + 0x20]
mov edi, 1
mov edx, edi
add esp, 0xc
mov dword [esp + 0x38], 0x44
mov word [esp + 0x68], dx
mov dword [esp + 0x64], edi
cmp dword [eax - 4], edi
jle 0x402b64
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.004036c0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x3c]
push edx
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x402b95
mov eax, dword [esp + 0x2c]
push eax
call ebp
mov ecx, dword [esp + 0x28]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x194]
add esi, edi
cmp esi, dword [eax - 0xc]
jl 0x402a60
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.7ED87DDD_AE3D_4517_B6E8_69621C3BDA8F
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_FindWindowExA]
cmp eax, ebx
je 0x402bdd
push ebx
push ebx
push 0x1400
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push str.Msg:_Post_Unlock_message_succeed._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [esp + 0x18c], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402c05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x18c], 3
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
jg 0x402c2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x18c], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402c55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x18c], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402c7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x18c], 0xffffffff
mov eax, dword [esp + 0x194]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402caa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x184]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x16c]
xor ecx, esp
call fcn.0040fe69
add esp, 0x17c
ret 4
push 0x80070057
call fcn.00401090
int3