Function at 0x1002ee70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011aca0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x101684dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
test eax, eax
jne 0x1002eec3
mov eax, dword [ebx + 0x84]
lea ecx, [ebx + 0x84]
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 3
jne 0x1002ef6d
call fcn.10037460
push 0x10127b90
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.10004130
mov esi, eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebx + 0x84]
call fcn.10028620
push esi
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
call fcn.100293a0
add esp, 8
mov byte [ebp - 4], 2
mov ecx, esp
push str.PCStore_setup.log
push eax
push ecx
call fcn.10022aa0
mov eax, dword [edi]
add esp, 0xc
mov ecx, edi
call dword [eax + 0x68]
mov edx, dword [ebp - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002ef47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002ef65
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
jmp 0x1002f012
cmp eax, 1
jne 0x1002f050
call fcn.10037460
push 0x10127b90
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.10004130
mov esi, eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebx + 0x84]
call fcn.10028620
push esi
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
call fcn.100293a0
add esp, 8
mov byte [ebp - 4], 5
mov ecx, esp
push str.PCStore_setup.log
push eax
push ecx
call fcn.10022aa0
mov eax, dword [edi]
add esp, 0xc
mov ecx, edi
call dword [eax + 0x68]
mov edx, dword [ebp - 0x18]
or edi, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002eff1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, edi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002f00f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x1002f02e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx + 0x94]
lea ecx, [ebx + 0x94]
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 2
jne 0x1002f177
lea eax, [ebp + 8]
push eax
lea ecx, [ebx + 0x178]
call fcn.10020320
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
lea ecx, [ebx + 0xa8]
mov dword [ebp - 4], 6
call fcn.10020530
mov byte [ebp - 4], 7
call fcn.1002a270
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.100150b0
lea eax, [ebp - 0x1c]
push eax
call fcn.1002a270
mov ecx, eax
call fcn.10014e00
mov edx, dword [ebp - 0x1c]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, dword [eax]
mov esi, dword [eax - 0xc]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002f0c7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x1002f0fc
push ecx
mov esi, esp
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.100045a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 8
call fcn.1002a270
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.10015310
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x1012a990
call fcn.10028e30
mov byte [ebp - 4], 9
call fcn.1002a270
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.10014f50
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002f138
push dword [ebp + 8]
call fcn.1000f520
add esp, 4
mov eax, dword [ebx + 0x9c]
lea ecx, [ebx + 0x9c]
call dword [eax]
push 0
push 2
push 0x464
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x1002f177
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4