Function at 0x10064dd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013ffe6
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x1019bc84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x220], ecx
push str.TryInstGameMasterIfBuychannel
call fcn.100684f0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100e3030
add esp, 0x10
lea eax, [ebp - 0x218]
push 0x104
push eax
mov eax, dword [0x101a1328]
push 0x101a1328
call dword [eax + 0x4c]
push str.UtilsInstPatch.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.10044a80
mov ecx, eax
call fcn.1003fb80
test eax, eax
je 0x10065031
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10065031
lea eax, [ebp - 0x218]
push eax
call fcn.10097b70
add esp, 4
test eax, eax
jne 0x10064ea4
lea eax, [ebp - 0x218]
push eax
push str.file__s__check_sign_fail.
call fcn.100684f0
add esp, 8
jmp 0x10065031
call fcn.10044b20
test eax, eax
je 0x10065031
cmp dword [eax + 0x34], 0
je 0x10064eda
mov ebx, dword [eax + 0x30]
mov edi, dword [eax + 0x2c]
mov esi, dword [eax + 0x28]
push ebx
push edi
push esi
push str.bundle_line___d__d__d
call fcn.100684f0
add esp, 0x10
test esi, esi
je 0x10065031
jmp 0x10064efb
cmp dword [eax + 0x40], 0
jne 0x10065031
mov ebx, dword [eax + 0x3c]
mov edi, dword [eax + 0x38]
push ebx
push edi
push 1
push str.bundle_default___d__d__d
call fcn.100684f0
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10065031
push 0x1015fa34
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x224], eax
test eax, eax
je 0x10065031
lea ecx, [ebp - 0x21c]
call fcn.1000a880
mov dword [ebp - 4], 0
call fcn.10044a80
mov ecx, eax
call fcn.1003dfd0
mov edx, 0x101539d4
test ebx, ebx
mov ecx, str._OPTIMIZEGM
cmove ecx, edx
push ecx
push dword [eax]
lea eax, [ebp - 0x21c]
push str._S__PIDldsbuy__SUBPID_s__FROMldsbuy__s
push eax
call fcn.1000ade0
mov esi, dword [ebp - 0x21c]
push esi
push str.bundle_start_inst_gamemaster__param:_s
call fcn.100684f0
add esp, 0x18
cmp dword [esi - 4], 1
jle 0x10064f99
push dword [esi - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.1000ad20
mov esi, dword [ebp - 0x21c]
push esi
call dword [ebp - 0x224]
push 0xffffffffffffffff
lea ecx, [ebp - 0x21c]
mov esi, eax
call fcn.1003afd0
push esi
push str.bundle_end_inst_gamemaster__ret_d
call fcn.100684f0
add esp, 8
test esi, esi
jle 0x10065026
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x224], esp
mov dword [eax + 0x24], 0
push 1
push 0
push str.inst_gamemaster_succ
mov byte [ebp - 4], 1
call fcn.100346a0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.10030840
mov esi, dword [ebp - 0x220]
add esi, 0x23c
mov ecx, esi
push 0xa
test edi, edi
je 0x1006500d
push str.__instgm1
jmp 0x10065012
push str.__instgm0
call fcn.1000d5b0
push dword [esi]
push str.bundle_gamemaster_param:_s
call fcn.100684f0
add esp, 8
lea ecx, [ebp - 0x21c]
call fcn.1000a960
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009de58
mov esp, ebp
pop ebp
ret