Function at 0x10035560
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a61b0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x100c66d0]
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, ecx
cmp dword [ebx + 0x48], 0
lea edi, [ebx + 0x38]
mov esi, edx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], 0
je 0x100355d6
cmp dword [edi + 0x14], 8
jb 0x100355ac
mov eax, dword [edi]
jmp 0x100355ae
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x100355d6
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
jmp 0x100357a3
cmp byte [ebx + 0x134], 0
je 0x100356a7
cmp dword [ebx + 0x128], 0
je 0x100356a7
call fcn.10033b10
lea esi, [ebp - 0x48]
cmp eax, 1
je 0x10035640
call fcn.10033ed0
mov dword [ebp - 0x68], eax
lea esi, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.10033de0
push 0
push eax
or eax, 0xffffffff
mov esi, edi
mov byte [ebp - 4], 1
call fcn.10005d70
push 0
add ebx, 0x118
mov esi, eax
push ebx
or eax, 0xffffffff
call fcn.10005d70
mov ecx, dword [ebp - 0x68]
push 0
push ecx
jmp 0x10035681
call fcn.10033f00
mov dword [ebp - 0x68], eax
lea esi, [ebp - 0x2c]
mov dword [ebp - 4], 2
call fcn.10033e10
push 0
push eax
or eax, 0xffffffff
mov esi, edi
mov byte [ebp - 4], 3
call fcn.10005d70
push 0
add ebx, 0x118
mov esi, eax
push ebx
or eax, 0xffffffff
call fcn.10005d70
mov edx, dword [ebp - 0x68]
push 0
push edx
mov esi, eax
or eax, 0xffffffff
call fcn.10005d70
lea ecx, [ebp - 0x2c]
call fcn.10004230
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10004230
jmp 0x1003578d
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x68], 0x80000001
call fcn.10033f30
mov dword [ebp - 0x6c], eax
lea esi, [ebp - 0x48]
mov dword [ebp - 4], 4
call fcn.10033d50
mov edx, dword [ebp - 0x6c]
push 0
lea ecx, [ebp - 0x68]
push ecx
mov ecx, eax
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.100357d0
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.100050d0
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x10035701
mov edx, dword [ebp - 0x64]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
cmp dword [ebp - 0x34], esi
jb 0x10035726
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], esi
jb 0x10035752
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1003d468
add esp, 4
cmp dword [ebx + 0x48], 0
jne 0x1003578d
push 0x100ab2a8
lea esi, [ebp - 0x2c]
call fcn.100359d0
push eax
mov ecx, edi
mov dword [ebp - 4], 7
call fcn.100050d0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x1003578d
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1003d468
add esp, 4
mov esi, dword [ebp - 0x70]
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], dx
push 0xffffffffffffffff
push 0
push edi
mov ecx, esi
call fcn.10005150
mov eax, esi
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.1003c5b5
mov esp, ebp
pop ebp
ret