Function at 0x404a00
Capabilities:
Create process on windows
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x40bfa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x34], ecx
push 0x411418
lea ecx, [esp + 0x6c]
mov dword [esp + 0x64], 0
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x404cce
lea eax, [esp + 0x68]
push str..
lea ecx, [esp + 0x20]
push eax
push ecx
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x60], 1
call sub.MFC42.DLL_CFileFind::CFileFind
mov edx, dword [esp + 0x1c]
push 0
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 2
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x404ca9
mov edi, dword [esp + 0x6c]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov ebp, eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CFileFind::GetFileName
lea ecx, [esp + 0x20]
push 3
push ecx
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], 3
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x41140c
push eax
call esi
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
sete bl
call fcn.0040b184
test bl, bl
je 0x404bb5
lea edx, [esp + 0x68]
push 0x4111b4
lea eax, [esp + 0x28]
push edx
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x6c], 4
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 6
call fcn.0040b184
mov eax, dword [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test edi, edi
je 0x404b83
push 0xc8
call sub.OfilmLib.dll_fSleep
add esp, 4
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 7
call sub.MFC42.DLL_CString::MakeUpper
push str.UNLOCK
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x404b67
mov edx, dword [esp + 0x14]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 6
call fcn.0040b184
mov byte [esp + 0x60], 3
lea ecx, [esp + 0x14]
jmp 0x404c8e
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x6c]
mov eax, dword [eax - 8]
push eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.0040b010
push 0xc8
call sub.OfilmLib.dll_fSleep
add esp, 8
mov byte [esp + 0x60], 3
lea ecx, [esp + 0x14]
jmp 0x404c8e
mov edx, dword [esp + 0x3c]
push 0x10
lea ecx, [esp + 0x40]
call dword [edx + 0x40]
test eax, eax
je 0x404c93
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x3c]
push eax
call sub.MFC42.DLL_CFileFind::GetFileName
mov eax, dword [eax]
push 0x4112d8
push eax
mov byte [esp + 0x68], 8
call esi
add esp, 8
test eax, eax
je 0x404c1f
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CFileFind::GetFileName
mov eax, dword [eax]
push 0x4112d4
push eax
call esi
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
setne bl
call fcn.0040b184
test bl, bl
je 0x404c1f
mov bl, 1
jmp 0x404c21
xor bl, bl
lea ecx, [esp + 0x2c]
mov byte [esp + 0x60], 3
call fcn.0040b184
test bl, bl
je 0x404c93
lea edx, [esp + 0x68]
push 0x4111b4
lea eax, [esp + 0x34]
push edx
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x18]
push ecx
push eax
push edx
mov byte [esp + 0x6c], 9
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 0xb
call fcn.0040b184
push edi
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x3c]
call fcn.00404a00
mov byte [esp + 0x60], 3
lea ecx, [esp + 0x18]
call fcn.0040b184
lea ecx, [esp + 0x6c]
mov byte [esp + 0x60], 2
call fcn.0040b184
test ebp, ebp
jne 0x404a88
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [esp + 0x3c]
mov byte [esp + 0x60], 1
call fcn.0040b3be
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 0
call fcn.0040b184
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], 0xffffffff
call fcn.0040b184
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x54
ret 8