Function at 0x462cc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f80b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
mov eax, dword [0x540cc0]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x228], ecx
mov eax, dword [ebp - 0x228]
cmp dword [eax + 0x118], 0
jle 0x462d00
jmp 0x46312b
mov ecx, dword [ebp - 0x228]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x178], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x228]
call fcn.004634b0
test eax, eax
jne 0x462d27
jmp 0x46312b
cmp dword [ebp + 8], 0
jne 0x462d32
jmp 0x46312b
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x462d5d
push 0x30
push 0x50f654
push 0x50f660
mov ecx, dword [ebp - 0x228]
call sub.MFC71.DLL_CWnd::MessageBoxA
jmp 0x46312b
push 0x2e
mov edx, dword [ebp + 8]
push edx
call fcn.00468aa0
add esp, 8
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x462d94
push 4
push 0x50f680
mov eax, dword [ebp - 0x220]
push eax
call fcn.00468c70
add esp, 0xc
test eax, eax
je 0x462db0
push 0x30
push 0x50f688
push 0x50f694
mov ecx, dword [ebp - 0x228]
call sub.MFC71.DLL_CWnd::MessageBoxA
jmp 0x46312b
push 0x5c
mov ecx, dword [ebp + 8]
push ecx
call fcn.00468aa0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x462dcc
jmp 0x46312b
mov edx, dword [ebp + 8]
push edx
call sub.pmc.dll_public:_static_int___cdecl_CPmcIo::GetFileLen_char_const__
add esp, 4
cmp eax, 0x9600000
jle 0x462dfb
push 0x30
push 0x50f6b4
push 0x50f6c0
mov ecx, dword [ebp - 0x228]
call sub.MFC71.DLL_CWnd::MessageBoxA
jmp 0x46312b
mov eax, dword [ebp + 8]
push eax
push 0x50f6e8
mov ecx, dword [ebp - 0x228]
add ecx, 0x1a4
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
push 0x50f6ec
mov eax, dword [ebp - 0x228]
add eax, 0x140
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x228]
mov dword [ecx + 0x170], eax
push 0x10
push 0
mov edx, dword [ebp - 0x228]
add edx, 0x18c
push edx
call sub.MSVCR71.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x228]
add eax, 0x18c
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [ebp - 0x228]
add ecx, 0x174
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
movzx ecx, al
test ecx, ecx
je 0x462ed6
mov edx, dword [ebp - 0x228]
movzx eax, word [edx + 0x192]
push eax
mov ecx, dword [ebp - 0x228]
movzx edx, word [ecx + 0x18e]
push edx
mov eax, dword [ebp - 0x228]
movzx ecx, word [eax + 0x18c]
push ecx
push str._d_02d_02d
mov edx, dword [ebp - 0x228]
add edx, 0x174
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x14
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x224], esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x228]
call fcn.004653f0
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x462f76
mov ecx, dword [ebp - 0x228]
mov dword [ecx + 0x188], 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x228]
call fcn.00464260
test eax, eax
jne 0x462f4a
push 0x30
push 0x50f6fc
push 0x50f708
mov ecx, dword [ebp - 0x228]
call sub.MFC71.DLL_CWnd::MessageBoxA
jmp 0x46312b
mov eax, dword [ebp + 8]
push eax
call fcn.00462600
add esp, 4
test eax, eax
jne 0x462f76
push 0x30
push 0x50f728
push 0x50f734
mov ecx, dword [ebp - 0x228]
call sub.MFC71.DLL_CWnd::MessageBoxA
jmp 0x46312b
mov ecx, dword [ebp - 0x228]
add ecx, 0x124
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
movzx ecx, al
test ecx, ecx
jne 0x462fc1
mov ecx, dword [ebp - 0x228]
add ecx, 0x128
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
movzx edx, al
test edx, edx
jne 0x462fc1
mov ecx, dword [ebp - 0x228]
add ecx, 0x12c
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
movzx eax, al
test eax, eax
je 0x462fc6
jmp 0x46312b
push 0x200
push 0
lea ecx, [ebp - 0x21c]
push ecx
call sub.MSVCR71.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
call sub.MSVCR71.dll_strlen
add esp, 4
push eax
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
push 0x1ff
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004610a0
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x463015
jmp 0x46312b
mov edx, dword [ebp - 0x18]
mov byte [ebp + edx - 0x21c], 0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCR71.dll_rand]
push eax
mov ecx, dword [ebp - 0x228]
movzx edx, word [ecx + 0x198]
push edx
mov eax, dword [ebp - 0x228]
movzx ecx, word [eax + 0x196]
push ecx
mov edx, dword [ebp - 0x228]
movzx eax, word [edx + 0x194]
push eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx + 0x178]
push edx
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0x174]
push ecx
push str._s_u__d__t__02d_02d_02d__r__d__f__s_.exe
mov edx, dword [ebp - 0x228]
add edx, 0x13c
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x24
lea ecx, [ebp - 0x14]
call dword [0x502480]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0x13c]
push ecx
mov edx, dword [ebp - 0x228]
mov eax, dword [edx + 0x124]
push eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx + 0x12c]
push edx
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0x128]
push ecx
push 0x50f788
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x18
push 0
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004dd920
add esp, 0xc
mov ecx, dword [ebp - 0x228]
mov dword [ecx + 0x118], eax
push 0
push 0x3e8
push 1
mov ecx, dword [ebp - 0x228]
call fcn.0042bed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004f2f91
mov esp, ebp
pop ebp
ret 0xc