Function at 0x406f60
Capabilities:
Access peb ldr_data
Copy file
Create directory
Create process on windows
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4547a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], 0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 3
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x2c]
push 3
push eax
mov ecx, 0x4692a4
mov byte [esp + 0x48], 4
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 5
call fcn.004149b6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
push str.DirRecycler.645FF040_5081_101B_9F08_00AA002F954E
lea edx, [esp + 0x30]
push ecx
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 6
call fcn.004149b6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push eax
call esi
test eax, eax
je 0x407082
push str.attrib_h_s
lea ecx, [esp + 0x18]
call fcn.004149ce
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 7
call fcn.004149b6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
push str._nul_
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
push str.cmd__c_mkdir
lea ecx, [esp + 0x1c]
call fcn.004149ce
lea edx, [esp + 0xc]
lea ecx, [esp + 0x18]
push edx
call sub.MFC42.DLL_CString::operator_1
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call sub.MFC42.DLL_CString::CString_1
call fcn.00412a80
add esp, 4
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
push str._system_files.._
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 8
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0xc]
lea edx, [esp + 0x2c]
push ecx
push 0x465358
push edx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 9
call fcn.004149b6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 8
call sub.MFC42.DLL_CString::CString
push 0x465358
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push str.cmd__c_mkdir
lea ecx, [esp + 0x18]
call fcn.004149ce
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::operator_1
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_1
call fcn.00412a80
mov eax, dword [0x469268]
add esp, 4
test eax, eax
je 0x407191
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x48], 0xa
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x4692a4
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x48], 8
call fcn.004132c0
jmp 0x4071a2
mov ecx, dword [esp + 0xc]
mov edx, dword [0x4692a4]
push ecx
push edx
call fcn.00412990
add esp, 8
lea ecx, [esp + 0x20]
mov edi, eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 0xb
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0xc]
push 0x465418
lea ecx, [esp + 0x30]
mov bl, 0xc
push eax
push ecx
mov byte [esp + 0x4c], bl
call sub.MFC42.DLL_operator_2
push eax
mov ecx, 0x4690a4
mov byte [esp + 0x44], 0xd
call fcn.004149b6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_CString::CString
push 0x46909c
lea edx, [esp + 0x30]
push 0x4690a4
push edx
call sub.MFC42.DLL_operator
push eax
mov ecx, 0x4690a4
mov byte [esp + 0x44], 0xe
call fcn.004149b6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_CString::CString
test edi, edi
je 0x4073a9
push 0x469230
lea eax, [esp + 0x30]
push 0x4692a4
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 0xf
call fcn.004149b6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
push 0
push ecx
call esi
mov edx, dword [0x4690a4]
mov eax, dword [0x4690a0]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x20]
push str._system.._
lea edx, [esp + 0x30]
push ecx
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 0x10
call fcn.004149b6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
push eax
push 0x465358
push ecx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 0x11
call fcn.004149b6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_CString::CString
push 0x465358
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push str.cmd__c_mkdir
lea ecx, [esp + 0x1c]
call fcn.004149ce
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
call sub.MFC42.DLL_CString::operator_1
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString_1
call fcn.00412a80
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x38
ret
mov ecx, dword [0x4690a0]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0xc]
push 0x4692a0
lea eax, [esp + 0x34]
push edx
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 0x12
call fcn.004149b6
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x469268]
test eax, eax
je 0x407421
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x46929c
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x4c], 0x13
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x48], bl
call fcn.004132c0
jmp 0x407431
mov eax, dword [0x46929c]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.00412990
add esp, 8
push 0
push 0
push 0x46580c
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x38]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret