Function at 0x4187c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x4a0270]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov byte [ebp - 0x10c], 0
push 0x103
push 0
lea eax, [ebp - 0x10b]
push eax
call fcn.0045f1b0
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [str.C:logcrossfire_s]
push ecx
push 0x104
lea edx, [ebp - 0x10c]
push edx
call fcn.0045ef32
add esp, 0x10
cmp dword [ebp + 8], 0
je 0x418836
mov eax, dword [ebp + 8]
push eax
call fcn.004602c0
add esp, 4
test eax, eax
jbe 0x418836
mov eax, dword [ebp + 8]
mov cl, byte [eax]
mov byte [ebp - 0x10c], cl
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x41885a
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
call fcn.004186c0
lea eax, [ebp - 0x10c]
push eax
call fcn.00418270
add esp, 4
mov eax, dword [ebp + 0x10]
push eax
call fcn.004182a0
add esp, 4
push 0
push 0
push str.1_IOBUFFER_INFO
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
call fcn.004182d0
push 0
push 0
push str.1_PACKET_PROFILE
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x90
call fcn.004182d0
push 0
push 0
push str.1_DELAY_QUERY
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x120
call fcn.004182d0
push 0
push 0
push str.1_DELAY_PACKET
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x1b0
call fcn.004182d0
push 0
push 0
push str.1_CPU_INFO
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x240
call fcn.004182d0
push 0
push 0
push str.1_MEMORY_INFO
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x2d0
call fcn.004182d0
push 0
push 0
push str.1_NETWORK
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x360
call fcn.004182d0
push 0
push 0
push str.1_BD_POOL_INFO
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x3f0
call fcn.004182d0
push 0
push 0
push str.1_LG_USER_INFO
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x480
call fcn.004182d0
push 0
push 0
push str.1_LG_MMCONTEXT_OVER_CNT
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x510
call fcn.004182d0
push 0
push 0
push str.1_ERROR
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x5a0
call fcn.004182d0
push 0
push 0
push str.1_COUNT
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x630
call fcn.004182d0
push 0
push 0
push str.1_PACKET_CNT
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x6c0
call fcn.004182d0
push 3
push 1
push str.CONTENTS
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x750
call fcn.004182d0
push 3
push 1
push str.CONTENTS_MISSION
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x7e0
call fcn.004182d0
push 3
push 1
push str.CONTENTS_GAMEROOM
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x870
call fcn.004182d0
push 6
push 1
push str.CONTENTS_FPOINT
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x900
call fcn.004182d0
push 6
push 1
push str.CONTENTS_GLOBALROOM
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x990
call fcn.004182d0
push 6
push 1
push str.CONTENTS_WAVE
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0xa20
call fcn.004182d0
push 6
push 1
push str.CONTENTS_CLAN
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0xab0
call fcn.004182d0
push 3
push 1
push 0x48f9a0
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0xb40
call fcn.004182d0
push 0
push 0
push str.SERVER_SETTING
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0xbd0
call fcn.004182d0
push 0
push 0
push str.1_LOG_TYPE_ANTITHREAD_INFO
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0xc60
call fcn.004182d0
push 0
push 0
push str.FUNC_ITEM_USE
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0xcf0
call fcn.004182d0
push 0
push 0
push str.1_NETWORK_LOOPBACK
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0xd80
call fcn.004182d0
push 0
push 0
push str.AI_GACHA
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0xe10
call fcn.004182d0
push 0
push 0
push str.AI_GACHA_ERROR
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0xea0
call fcn.004182d0
push 0
push 0
push str.STORAGE
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0xf30
call fcn.004182d0
push 1
push 1
push str.TEMP1
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0xfc0
call fcn.004182d0
push 1
push 1
push str.TEMP2
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x1050
call fcn.004182d0
push 3
push 1
push str.AUTOLEAGUE
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x10e0
call fcn.004182d0
push 3
push 1
push str.AUTOLEAGUE_ERROR
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x1170
call fcn.004182d0
push 0
push 0
push str.CONTENTS_DELAY
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x1200
call fcn.004182d0
push 0
push 0
push str.ROOMSTATUS_GMS
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x1290
call fcn.004182d0
push 0
push 0
push str.ROOMSTATUS_GSM
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x1320
call fcn.004182d0
push 3
push 1
push str.BILLING_DELAY
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x13b0
call fcn.004182d0
push 0
push str.Current_Bandwidth
push str.Network_Interface
mov ecx, dword [ebp - 8]
add ecx, 0x1440
call fcn.0041d950
movzx eax, al
test eax, eax
jne 0x418cdb
push str.kPONetworkInterfase_error
mov ecx, dword [ebp - 8]
add ecx, 0x5a0
call fcn.00418320
push 0
push str.__Processor_Time
push str.Processor
mov ecx, dword [ebp - 8]
add ecx, 0x148c
call fcn.0041d950
movzx eax, al
test eax, eax
jne 0x418d0f
push str.kPONetworkInterfase_error
mov ecx, dword [ebp - 8]
add ecx, 0x5a0
call fcn.00418320
push 0
push str.Pages_sec
push str.Memory
mov ecx, dword [ebp - 8]
add ecx, 0x14d8
call fcn.0041d950
movzx eax, al
test eax, eax
jne 0x418d43
push str.kPONetworkInterfase_error
mov ecx, dword [ebp - 8]
add ecx, 0x5a0
call fcn.00418320
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045ee62
mov esp, ebp
pop ebp
ret 0xc