Function at 0x1006d2e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015c784
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x43c], eax
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x1006d6fb
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], 0
mov eax, str.45476F8083D74BA28A2DD8ED399737B7
lea ecx, [ebp - 0x428]
test eax, 0xffff0000
jne 0x1006d359
movzx eax, ax
push eax
call fcn.1000d1d0
jmp 0x1006d365
push 0x20
push str.45476F8083D74BA28A2DD8ED399737B7
call fcn.1000adf0
mov dword [ebp - 4], 1
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x1006d705
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x430], eax
mov byte [ebp - 4], 2
mov eax, str.bhnb0mk7VHe_C1KZpnQf9A
lea ecx, [ebp - 0x430]
test eax, 0xffff0000
jne 0x1006d3ac
movzx eax, ax
push eax
call fcn.1000d1d0
jmp 0x1006d3b8
push 0x18
push str.bhnb0mk7VHe_C1KZpnQf9A
call fcn.1000adf0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.100b5b00
mov esi, eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x438]
push 1
push eax
call fcn.10067520
mov byte [ebp - 4], 5
push esi
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.10055930
add esp, 0x20
mov byte [ebp - 4], 7
or esi, 0xffffffff
mov edx, dword [ebp - 0x438]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1006d423
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov eax, esi
mov edx, dword [ebp - 0x434]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1006d444
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov eax, esi
mov edx, dword [ebp - 0x430]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1006d465
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov eax, esi
mov edx, dword [ebp - 0x428]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1006d486
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x42c]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
jne 0x1006d4b2
push dword [ebp - 0x42c]
push str.CGameCenterUtil::RunServiceFunction___s_not_found
call fcn.1004a170
add esp, 8
xor edi, edi
jmp 0x1006d6bc
push 1
push dword [ebp - 0x42c]
call fcn.100440d0
add esp, 8
test eax, eax
jne 0x1006d4e0
push dword [ebp - 0x42c]
push str.CGameCenterUtil::RunServiceFunction___s_no_sign
call fcn.1004a170
add esp, 8
xor edi, edi
jmp 0x1006d6bc
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100ec480
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
cmp dword [0x101c0344], 0
je 0x1006d602
push str.GetNativeSystemInfo
push 0x10175b84
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006d5f8
xorps xmm0, xmm0
mov dword [ebp - 0x440], 0
lea ecx, [ebp - 0x460]
push ecx
movups xmmword [ebp - 0x460], xmm0
movups xmmword [ebp - 0x450], xmm0
call eax
mov ax, word [ebp - 0x460]
cmp ax, 9
je 0x1006d5ee
cmp ax, 6
je 0x1006d5ee
cmp ax, 0xc
je 0x1006d5ee
push str.IsWow64Process2
push 0x1017de54
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x428], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1006d5df
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x1006d5df
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x428], cx
sete al
mov dword [0x101c676c], eax
jmp 0x1006d5f8
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor eax, eax
mov dword [0x101c676c], eax
jmp 0x1006d5f8
mov dword [0x101c676c], 1
mov dword [0x101c0344], 0
cmp dword [0x101c676c], 0
lea ecx, [ebp - 0x421]
je 0x1006d618
call fcn.10060350
jmp 0x1006d61d
call fcn.100604b0
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.1010b780
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
jne 0x1006d657
lea eax, [ebp - 0x218]
push eax
push str.CGameCenterUtil::RunServiceFunction___s_not_found
call fcn.1004a170
add esp, 8
xor edi, edi
jmp 0x1006d6bc
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100ec480
push dword [ebp - 0x43c]
lea eax, [ebp - 0x420]
push dword [ebp - 0x42c]
push str.__s___s
push 0x104
push eax
call fcn.100084b0
mov eax, dword [ebp + 0xc]
add esp, 0x20
test eax, eax
jne 0x1006d69b
push eax
push eax
push eax
jmp 0x1006d6a0
push eax
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.100452a0
mov edi, eax
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x42c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1006d6de
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
int3