Function at 0x1007acd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b24a2
mov eax, dword fs:[0]
push eax
sub esp, 0xc3c
mov eax, dword [0x100dbc1c]
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 ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0xc48], ebx
mov dword [ebp - 0xc44], 0
call fcn.1000a9e0
mov ecx, eax
test ecx, ecx
je 0x1007afaf
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0xc44], 1
test esi, esi
js 0x1007af91
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100837f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call edi
test esi, esi
jle 0x1007ad9e
nop dword [eax]
lea eax, [ebp - 0x218]
push eax
call edi
sub esi, 1
jne 0x1007ad90
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100837f0
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
add esp, 0xc
push dword [0x100dcc90]
push eax
lea eax, [ebp - 0x420]
push eax
call esi
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.100837f0
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [0x100dcc94]
push eax
lea eax, [ebp - 0x628]
push eax
call esi
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.100837f0
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [0x100dcc98]
push eax
lea eax, [ebp - 0x830]
push eax
call esi
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.100837f0
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [0x100dcc9c]
push eax
lea eax, [ebp - 0xa38]
push eax
call esi
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.100837f0
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [0x100dcca0]
push eax
lea eax, [ebp - 0xc40]
push eax
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x1007aeba
mov edx, dword [str.ludashi]
test edx, edx
je 0x1007af86
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1007aea6
sub eax, esi
sar eax, 1
jmp 0x1007af88
lea eax, [ebp - 0x628]
push eax
call esi
test eax, eax
je 0x1007aef4
mov edx, dword [str.ldslite]
test edx, edx
je 0x1007af86
mov eax, edx
lea esi, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1007aee0
sub eax, esi
sar eax, 1
jmp 0x1007af88
lea eax, [ebp - 0x830]
push eax
call esi
test eax, eax
je 0x1007af21
mov edx, dword [str.bizhi]
test edx, edx
je 0x1007af86
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1007af10
sub eax, esi
sar eax, 1
jmp 0x1007af88
lea eax, [ebp - 0xa38]
push eax
call esi
test eax, eax
je 0x1007af51
mov edx, dword [str.gamemaster]
test edx, edx
je 0x1007af86
mov eax, edx
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1007af40
sub eax, esi
sar eax, 1
jmp 0x1007af88
lea eax, [ebp - 0xc40]
push eax
call esi
test eax, eax
je 0x1007af81
mov edx, dword [str.desktop]
test edx, edx
je 0x1007af86
mov eax, edx
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1007af70
sub eax, esi
sar eax, 1
jmp 0x1007af88
mov edx, 0x100c71bc
xor eax, eax
push eax
push edx
mov ecx, ebx
call fcn.10009e80
mov eax, ebx
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.100763b4
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000a7c0
int3