Function at 0x48301f
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x51db4e
call fcn.004efe80
sub esp, 0x250
push ebx
push esi
push edi
mov dword [ebp - 0x2c], ecx
call fcn.00483387
push 5
mov esi, str.ini_MusicRegion.ini
pop ecx
lea edi, [ebp - 0x5c]
lea eax, [ebp - 0x5c]
push 0x55e338
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 0x48308b
push 0x9a8
lea eax, [ebp - 0x5c]
push str.D:CQ2ClientRelease_12.14.23DGameMap3DGameMap.cpp
push eax
push str.ERROR:_file__s_not_found_at__s___d
call fcn.004ebdbb
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 0x48309d
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x15c]
push eax
push 0x55e55c
push edi
call esi
add esp, 0xc
cmp eax, 0xffffffff
je 0x48307c
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 0x48309d
lea eax, [ebp - 0x40]
push eax
push str.Mapid_u_n
push edi
call esi
add esp, 0xc
cmp eax, ebx
jne 0x48309d
lea eax, [ebp - 0x3c]
push eax
push str.Bound_X_d_n
push edi
call esi
add esp, 0xc
cmp eax, ebx
jne 0x48309d
lea eax, [ebp - 0x30]
push eax
push str.Bound_Y_d_n
push edi
call esi
add esp, 0xc
cmp eax, ebx
jne 0x48309d
lea eax, [ebp - 0x44]
push eax
push str.Bound_CX_d_n
push edi
call esi
add esp, 0xc
cmp eax, ebx
jne 0x48309d
lea eax, [ebp - 0x28]
push eax
push str.Bound_CY_d_n
push edi
call esi
add esp, 0xc
cmp eax, ebx
jne 0x48309d
lea eax, [ebp - 0x15c]
push eax
push str.TitleMusic_s_n
push edi
call esi
add esp, 0xc
cmp eax, ebx
jne 0x48309d
lea eax, [ebp - 0x20]
push eax
push str.TitleMusicTime_d_n
push edi
call esi
add esp, 0xc
cmp eax, ebx
jne 0x48309d
lea eax, [ebp - 0x1c]
push eax
push str.Amount_d_n
push edi
call esi
add esp, 0xc
cmp eax, ebx
jne 0x48309d
push 0x2c
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
test eax, eax
je 0x483198
mov ecx, eax
call fcn.0048665b
jmp 0x48319a
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], eax
test eax, eax
je 0x48309d
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 0x4831f8
mov ecx, eax
call fcn.0048660c
mov edi, eax
jmp 0x4831fa
xor edi, edi
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
test edi, edi
mov dword [eax + 0x1c], edi
je 0x483243
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.004092b0
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.00483804
cmp dword [ebp - 0x1c], 0
jle 0x48309a
and byte [ebp - 0x15d], 0
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x1c], 0
jle 0x483360
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 0x483351
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 0x483351
push 0x14
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x48], eax
test eax, eax
mov dword [ebp - 4], 2
je 0x483307
mov ecx, eax
call fcn.0048660c
jmp 0x483309
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], eax
test eax, eax
je 0x483351
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.004092b0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x20]
call fcn.004c3d17
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jl 0x48327b
lea eax, [ebp - 0x34]
push eax
push str.DelayTime_d
push dword [ebp - 0x18]
call esi
add esp, 0xc
cmp eax, ebx
jne 0x48309a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0x10], ecx
jmp 0x48309a