Function at 0x4019e0
Capabilities:
Create process on windows
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4032c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc88
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.00402d5a
push str.59ie_m.dat
lea eax, [esp + 0x28]
push 0x406160
push eax
mov dword [esp + 0xcac], 0
call sub.MFC42.DLL_operator_1
push str.Play.exe
lea ecx, [esp + 0x20]
push 0x40622c
push ecx
mov byte [esp + 0xcac], 1
call sub.MFC42.DLL_operator_1
push str.59ie_bbx.dat
lea edx, [esp + 0x24]
push 0x40622c
push edx
mov byte [esp + 0xcac], 2
call sub.MFC42.DLL_operator_1
push 0x406080
lea eax, [esp + 0x2c]
push 0x406160
push eax
mov byte [esp + 0xcac], 3
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x34]
mov byte [esp + 0xca0], 4
call sub.MFC42.DLL_CFile::CFile
push str.59ie_m.dat
lea ecx, [esp + 0x14]
push 0x406160
push ecx
mov byte [esp + 0xcac], 5
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x898]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [0x406160]
push ecx
call dword [0x404050]
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x14]
push edx
call fcn.00402d90
mov eax, dword [ebp + 0x68]
test eax, eax
jne 0x401b04
mov eax, dword [ebp + 0x64]
test eax, eax
je 0x401b43
push str._bin_skins
lea eax, [esp + 0x14]
push 0x406160
push eax
call sub.MFC42.DLL_operator_1
push 0xffffffffffffffff
mov ecx, eax
mov byte [esp + 0xca4], 6
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.00401610
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0xca0], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0x68]
test eax, eax
je 0x401b59
mov ecx, ebp
call fcn.00401fb0
test eax, eax
je 0x401f27
lea ecx, [esp + 0x2c]
call fcn.00402d5a
lea ecx, [esp + 0x30]
mov byte [esp + 0xca0], 7
call fcn.00402d5a
push 0x74
lea ecx, [esp + 0x30]
mov byte [esp + 0xca4], 8
call sub.MFC42.DLL_CString::LoadStringA
push 0x77
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::LoadStringA
mov ebx, dword [0x404298]
push 1
lea ecx, [esp + 0x49c]
push 0x10
push ecx
push 0
call ebx
mov edi, dword [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x498]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x9c]
and ecx, 3
push 0x10
push eax
push 0
rep movsb byte es:[edi], byte [esi]
call ebx
mov edi, dword [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x98]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x98]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x49c]
push ecx
call dword [0x404024]
mov eax, dword [ebp + 0x64]
test eax, eax
jne 0x401c64
mov edx, dword [esp + 0x14]
push 0
push 0x8000
push edx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x401c58
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFile::Close
jmp 0x401c5f
mov dword [ebp + 0x64], 1
mov eax, dword [ebp + 0x64]
test eax, eax
mov ebx, dword [0x404020]
je 0x401db7
mov eax, dword [esp + 0x14]
push 0
push 0x8000
push eax
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x401cc6
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFile::Close
mov edi, dword [0x40401c]
xor esi, esi
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x404038]
test eax, eax
jne 0x401cc6
push 0x3e8
call edi
inc esi
cmp esi, 3
jl 0x401c9a
push 0xffffffffffffffff
push 0
push 0x7a
call sub.MFC42.DLL_AfxMessageBox_1
jmp 0x401f05
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x58]
xor edx, edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
lea eax, [esp + 0x44]
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], edx
push eax
push ecx
push edx
push edx
push edx
push edx
push edx
push edx
mov dword [esp + 0x70], edx
push edx
mov edx, dword [esp + 0x48]
push edx
mov dword [esp + 0x7c], 0x44
call ebx
mov eax, dword [esp + 0x44]
push 0xffffffffffffffff
push eax
call dword [0x404018]
push str.Qmacrone.ini
lea ecx, [esp + 0x14]
push 0x406160
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push 0x8000
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xcac], 9
call sub.MFC42.DLL_CFile::Open
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0xca0], 8
call sub.MFC42.DLL_CString::CString
test esi, esi
je 0x401db7
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFile::Close
push str.Qmacrone.ini
lea edx, [esp + 0x1c]
push 0x40622c
push edx
call sub.MFC42.DLL_operator_1
mov esi, dword [eax]
push str.Qmacrone.ini
lea eax, [esp + 0x14]
push 0x406160
push eax
mov byte [esp + 0xcac], 0xa
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push esi
push eax
call dword [0x404024]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0xca0], 8
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
push 0
push 0x8000
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x401dde
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFile::Close
jmp 0x401ea8
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x58]
xor edx, edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
push str.59ie_bbx.dat
lea eax, [esp + 0x1c]
mov dword [esp + 0x50], edx
push 0x406160
push eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], 0x44
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
push 1
push eax
push ecx
call dword [0x404028]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x20]
mov esi, dword [0x404038]
push edx
call esi
push str.59ie_bbx.dat
lea eax, [esp + 0x1c]
push 0x406160
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x44]
mov eax, dword [eax]
lea edx, [esp + 0x54]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call ebx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x44]
push 0xffffffffffffffff
push eax
call dword [0x404018]
push str.59ie_bbx.dat
lea ecx, [esp + 0x1c]
push 0x406160
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push eax
call esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0x64]
test eax, eax
je 0x401eb6
mov ecx, ebp
call fcn.00402390
mov edi, dword [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x898]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x68]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jne 0x401f05
mov ecx, dword [0x40622c]
push 5
push ecx
lea edx, [esp + 0x8a0]
push 0
push edx
push str.open
push 0
call dword [0x40429c]
lea ecx, [esp + 0x30]
mov byte [esp + 0xca0], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0xca0], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0xca0], 4
call fcn.00402ec8
lea ecx, [esp + 0x28]
mov byte [esp + 0xca0], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0xca0], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0xca0], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0xca0], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0xca0], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc98]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0xc94
ret