Function at 0x4879b0
Capabilities:
Create directory
Create process on windows
Create thread
Read file via mapping
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9e69
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
mov dword [ebp - 0xc8], ecx
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [0x542174], 0
je 0x487a2d
mov eax, dword [0x542178]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [0x542174]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x542178], 0
mov edx, dword [0x542178]
mov dword [0x542174], edx
push 0xa
mov ecx, dword [ebp - 0xc8]
call fcn.0042bcc0
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x2c]
push eax
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0x487950
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0xc8]
mov dword [edx + 0xe524], eax
cmp dword [0x5432a0], 2
jne 0x487a67
jmp 0x4882bc
cmp dword [0x5432a0], 0
je 0x487a75
jmp 0x4882bc
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x24]
call sub.MFC71.DLL_CFile::CFile
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x88]
push ecx
call fcn.00430940
add esp, 4
mov dword [ebp - 0xcc], eax
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], edx
mov byte [ebp - 4], 1
push 0x5147f8
mov eax, dword [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x8c]
push ecx
call fcn.00407f90
add esp, 0xc
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], edx
mov byte [ebp - 4], 2
push 0x5147e8
mov eax, dword [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x90]
push ecx
call fcn.00407f90
add esp, 0xc
mov dword [ebp - 0xdc], eax
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], edx
mov byte [ebp - 4], 3
push 0
push 0x1001
mov ecx, dword [ebp - 0xe0]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [ebp - 0x24]
call sub.MFC71.DLL_CFile::Open
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x90]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp dword [ebp - 0x28], 0
jne 0x487e78
push 0x514800
call fcn.004404b0
add esp, 4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x94]
push eax
call fcn.00430940
add esp, 4
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], ecx
mov byte [ebp - 4], 4
push 0x514820
mov edx, dword [ebp - 0xe8]
push edx
lea eax, [ebp - 0x98]
push eax
call fcn.00407f90
add esp, 0xc
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xf0], ecx
mov byte [ebp - 4], 5
push 0x514810
mov edx, dword [ebp - 0xf0]
push edx
lea eax, [ebp - 0x9c]
push eax
call fcn.00407f90
add esp, 0xc
mov dword [ebp - 0xf4], eax
push 0x80
mov ecx, dword [ebp - 0xf4]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x98]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00430940
add esp, 4
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], edx
mov byte [ebp - 4], 6
push 0x514828
mov eax, dword [ebp - 0xfc]
push eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.00407f90
add esp, 0xc
mov dword [ebp - 0x100], eax
push 0
mov ecx, dword [ebp - 0x100]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0xa
jge 0x487cd5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004f234e
jmp 0x487a7c
cmp dword [ebp - 0x14], 0xa
jne 0x487d44
push str._F__IM
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov byte [ebp - 4], 7
push 0x514838
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Append_1]
push 0
push 0
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push str.taskkill.exe
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004f234e
jmp 0x487a7c
push 0
mov ecx, 0x542198
call sub.MFC71.DLL_CWnd::ShowWindow
lea eax, [ebp - 0xa8]
push eax
call fcn.00430940
add esp, 4
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x108], ecx
mov byte [ebp - 4], 8
push 0x514868
mov edx, dword [ebp - 0x108]
push edx
lea eax, [ebp - 0xac]
push eax
call fcn.00407f90
add esp, 0xc
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x110]
push edx
push 0x514870
lea eax, [ebp - 0xb0]
push eax
call fcn.0043a9e0
add esp, 0xc
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x118], ecx
mov byte [ebp - 4], 0xa
push str.MakerView.exe
mov edx, dword [ebp - 0x118]
push edx
lea eax, [ebp - 0xb4]
push eax
call fcn.00407f90
add esp, 0xc
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x120], ecx
mov byte [ebp - 4], 0xb
push 0
push 0
mov ecx, dword [ebp - 0x120]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, dword [ebp - 0xc8]
call sub.MFC71.DLL_CWnd::MessageBoxA
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xb0]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xac]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004f234e
jmp 0x4882bc
lea ecx, [ebp - 0x24]
call sub.MFC71.DLL_CFile::Close
mov dword [0x5432a0], 2
mov edx, 1
test edx, edx
je 0x488278
call fcn.0048c850
push 1
push str.pmkcs.dll
lea ecx, [ebp - 0x50]
call sub.pmc.dll_public:_void___thiscall_CGetDllAddress::constructor_char_const___int_
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.00440e40
add esp, 8
test eax, eax
jne 0x487f10
push 0x30
push 0x514890
push 0x514898
mov ecx, dword [ebp - 0xc8]
call sub.MFC71.DLL_CWnd::MessageBoxA
push 0
mov ecx, 0x542198
call sub.MFC71.DLL_CWnd::ShowWindow
mov dword [0x5432a0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call sub.pmc.dll_public:_void___thiscall_CGetDllAddress::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004f234e
jmp 0x4882bc
push 0
call fcn.004300b0
mov ecx, eax
call fcn.004411a0
push eax
call dword [ebp - 0x40]
add esp, 8
push 0x540d60
push 0x541330
call dword [ebp - 0x44]
add esp, 8
push 1
push 0
lea ecx, [ebp - 0x68]
call sub.pmc.dll_public:_void___thiscall_CMemOper::constructor_int__int_
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x68]
push edx
mov eax, dword [0x5412e0]
push eax
call fcn.004300b0
mov ecx, eax
call fcn.0040e480
push eax
call fcn.00430d30
push eax
call dword [ebp - 0x34]
add esp, 0x10
lea ecx, [ebp - 0x68]
call sub.pmc.dll_public:_int___thiscall_CMemOper::GetLen_void_
test eax, eax
je 0x488260
push 0x5148b8
lea ecx, [ebp - 0x84]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x68]
call sub.pmc.dll_public:_int___thiscall_CMemOper::GetLen_void_
mov dword [ebp - 0x7c], eax
push str.pocomakerprethis
mov ecx, dword [ebp - 0x7c]
add ecx, 4
push ecx
push 0
push 4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x74], eax
push 0
push 0
push 0
push 2
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x74]
mov dword [0x542174], eax
mov ecx, dword [ebp - 0x78]
mov dword [0x542178], ecx
lea ecx, [ebp - 0x68]
call sub.pmc.dll_public:_int___thiscall_CMemOper::SeekToBegin_void_
push 4
lea edx, [ebp - 0x7c]
push edx
mov eax, dword [ebp - 0x78]
push eax
call sub.MSVCR71.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x68]
call sub.pmc.dll_public:_int___thiscall_CMemOper::GetLen_void_
push eax
mov ecx, dword [ebp - 0x78]
add ecx, 4
push ecx
lea ecx, [ebp - 0x68]
call sub.pmc.dll_public:_int___thiscall_CMemOper::Read_void___int_
lea ecx, [ebp - 0x70]
call dword [0x502480]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x6c]
call dword [0x502480]
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0xb8]
push edx
call fcn.00430940
add esp, 4
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 0x11
push 0x5148e0
mov ecx, dword [ebp - 0x128]
push ecx
lea edx, [ebp - 0x80]
push edx
call fcn.00407f90
add esp, 0xc
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea eax, [ebp - 0xbc]
push eax
call fcn.00430940
add esp, 4
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x130], ecx
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x130]
push edx
lea ecx, [ebp - 0x70]
call dword [0x502474]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea eax, [ebp - 0x70]
push eax
push 0x5148e8
lea ecx, [ebp - 0xc0]
push ecx
call fcn.0043a9e0
add esp, 0xc
mov dword [ebp - 0x134], eax
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x138], edx
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x138]
push eax
lea ecx, [ebp - 0x70]
call dword [0x502474]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push str.Player.exe_
lea ecx, [ebp - 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Append_1]
mov ecx, dword [ebp - 0x80]
push ecx
push str._file___stemp.pm_
lea edx, [ebp - 0x6c]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Append_2]
mov ecx, dword [ebp - 0x80]
push ecx
push str._path___s_
lea edx, [ebp - 0x6c]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Append_2]
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Empty]
push 0x10
push 0x541330
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Append]
push 0x51491c
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Append_1]
lea ecx, [ebp - 0x6c]
push ecx
push str._used
lea edx, [ebp - 0xc4]
push edx
call fcn.0043a9e0
add esp, 0xc
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x6c]
call dword [0x502474]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Append_2]
mov eax, dword [ebp - 0x84]
push eax
push str._used2___s_
lea ecx, [ebp - 0x6c]
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Append_2]
push 5
lea ecx, [ebp - 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0
push 0x1770
push 0xa
mov ecx, dword [ebp - 0xc8]
call fcn.0042bed0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x80]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x84]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x68]
call sub.pmc.dll_public:_void___thiscall_CMemOper::destructor_void_
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call sub.pmc.dll_public:_void___thiscall_CGetDllAddress::destructor_void_
push 0
mov ecx, 0x542198
call sub.MFC71.DLL_CWnd::ShowWindow
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [0x5432a0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004f234e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret