Function at 0x467ec3
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x4d3fde
call fcn.004ca3a0
sub esp, 0x250
push ebx
push esi
push edi
mov dword [ebp - 0x2c], ecx
call fcn.0046822b
push 5
mov esi, str.ini_MusicRegion.ini
pop ecx
lea edi, [ebp - 0x5c]
lea eax, [ebp - 0x5c]
push 0x5048a4
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
pop ecx
test edi, edi
pop ecx
mov dword [ebp - 0x18], edi
jne 0x467f2f
push 0x9a8
lea eax, [ebp - 0x5c]
push str.D:CQ2ClientRelease_6.2.83DGameMap3DGameMap.cpp
push eax
push str.ERROR:_file__s_not_found_at__s___d
call fcn.004c655d
add esp, 0x10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
and byte [ebp - 0x5d], 0
mov esi, dword [sym.imp.MSVCRT.dll_fscanf]
push 1
pop ebx
jmp 0x467f41
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x15c]
push eax
push 0x504a38
push edi
call esi
add esp, 0xc
cmp eax, 0xffffffff
je 0x467f20
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x15c]
push str._MusicRegion_d_
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
cmp eax, ebx
jne 0x467f41
lea eax, [ebp - 0x40]
push eax
push str.Mapid_u_n
push edi
call esi
add esp, 0xc
cmp eax, ebx
jne 0x467f41
lea eax, [ebp - 0x3c]
push eax
push str.Bound_X_d_n
push edi
call esi
add esp, 0xc
cmp eax, ebx
jne 0x467f41
lea eax, [ebp - 0x30]
push eax
push str.Bound_Y_d_n
push edi
call esi
add esp, 0xc
cmp eax, ebx
jne 0x467f41
lea eax, [ebp - 0x44]
push eax
push str.Bound_CX_d_n
push edi
call esi
add esp, 0xc
cmp eax, ebx
jne 0x467f41
lea eax, [ebp - 0x28]
push eax
push str.Bound_CY_d_n
push edi
call esi
add esp, 0xc
cmp eax, ebx
jne 0x467f41
lea eax, [ebp - 0x15c]
push eax
push str.TitleMusic_s_n
push edi
call esi
add esp, 0xc
cmp eax, ebx
jne 0x467f41
lea eax, [ebp - 0x20]
push eax
push str.TitleMusicTime_d_n
push edi
call esi
add esp, 0xc
cmp eax, ebx
jne 0x467f41
lea eax, [ebp - 0x1c]
push eax
push str.Amount_d_n
push edi
call esi
add esp, 0xc
cmp eax, ebx
jne 0x467f41
push 0x2c
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
test eax, eax
je 0x46803c
mov ecx, eax
call fcn.0046b1c0
jmp 0x46803e
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], eax
test eax, eax
je 0x467f41
mov ecx, dword [ebp - 0x3c]
push 0x14
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x44]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x40]
mov dword [ecx + 0x18], eax
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
mov dword [ebp - 4], ebx
je 0x46809c
mov ecx, eax
call fcn.0046b171
mov edi, eax
jmp 0x46809e
xor edi, edi
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
test edi, edi
mov dword [eax + 0x1c], edi
je 0x4680e7
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
inc eax
neg eax
sbb eax, eax
and eax, dword [ebp - 0x20]
mov dword [edi], eax
lea eax, [ebp - 0x15c]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
lea eax, [ebp + eax - 0x15c]
push eax
lea eax, [ebp - 0x15c]
push eax
lea ecx, [edi + 8]
call fcn.00407829
mov eax, dword [ebp - 0x10]
and dword [eax + 0x10], 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + 0x4cc]
call fcn.004686ce
cmp dword [ebp - 0x1c], 0
jle 0x467f3e
and byte [ebp - 0x15d], 0
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x1c], 0
jle 0x468204
push dword [ebp - 0x14]
mov edi, dword [sym.imp.MSVCRT.dll__snprintf]
lea eax, [ebp - 0x25c]
push str.Music_d__s_n
push 0xff
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x18]
call esi
add esp, 0xc
cmp eax, ebx
jne 0x4681f5
push dword [ebp - 0x14]
lea eax, [ebp - 0x25c]
push str.MusicTime_d__d_n
push 0xff
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x18]
call esi
add esp, 0xc
cmp eax, ebx
jne 0x4681f5
push 0x14
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x48], eax
test eax, eax
mov dword [ebp - 4], 2
je 0x4681ab
mov ecx, eax
call fcn.0046b171
jmp 0x4681ad
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], eax
test eax, eax
je 0x4681f5
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
lea edi, [eax + 8]
lea eax, [ebp - 0x15c]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
lea eax, [ebp + eax - 0x15c]
push eax
lea eax, [ebp - 0x15c]
push eax
mov ecx, edi
call fcn.00407829
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x20]
call fcn.00468646
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jl 0x46811f
lea eax, [ebp - 0x34]
push eax
push str.DelayTime_d
push dword [ebp - 0x18]
call esi
add esp, 0xc
cmp eax, ebx
jne 0x467f3e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0x10], ecx
jmp 0x467f3e