Function at 0x275992a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x275ac42b
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x275ba2ec]
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
push 0
push 0x2752f710
lea eax, [ebp - 0x11d]
push eax
push 0x2752f6a8
mov edi, ecx
lea ecx, [ebp - 0x11c]
push 2
push ecx
mov byte [ebp - 0x11d], 0
call fcn.275966c0
add esp, 0x18
cmp dword [edi + 0x6c], 0
mov dword [ebp - 4], 0
jne 0x2759933a
mov byte [ebp - 0x11d], 1
call fcn.27595010
test al, al
je 0x27599570
push 0x80048008
push 0x2752f660
push 0x2752f5f8
push 3
call fcn.27595fd0
add esp, 0x10
jmp 0x27599570
lea eax, [edi + 4]
lea esi, [edi + 0x14]
push eax
mov ecx, esi
call fcn.2753d5b0
push 1
push 0x2750ce98
mov ecx, esi
call fcn.2753eb70
mov ecx, dword [edi + 0x6c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
test eax, eax
jne 0x27599368
xor ecx, ecx
jmp 0x2759937f
mov ecx, eax
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x27599370
sub ecx, ebx
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.2753eb70
lea ebx, [edi + 0x1c]
push esi
mov ecx, ebx
call fcn.2753d5b0
call fcn.27595010
test al, al
je 0x275993b3
mov ecx, dword [esi]
push ecx
push 0x2752f5b8
push 0x2752f550
push 3
call fcn.27595fd0
add esp, 0x10
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x275993d1
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x27599462
lea edx, [edi + 0xc]
push edx
mov ecx, esi
call fcn.2753d5b0
push 1
push 0x2750ce98
mov ecx, esi
call fcn.2753eb70
mov ecx, dword [edi + 0x6c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
call edx
push eax
mov ecx, esi
call fcn.27540150
call fcn.27595010
test al, al
je 0x2759941c
mov eax, dword [esi]
push eax
push 0x2752f5b8
push 0x2752f4e8
push 3
call fcn.27595fd0
add esp, 0x10
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x27599436
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x27599462
push ebx
mov ecx, esi
mov byte [ebp - 0x11d], 1
call fcn.2753d5b0
call fcn.27595010
test al, al
je 0x27599462
push 0x2752f480
push 0x2752f418
push 3
call fcn.27595fd0
add esp, 0xc
cmp byte [edi + 0x71], 0
jne 0x27599570
lea eax, [edi + 4]
lea esi, [edi + 0x18]
push eax
mov ecx, esi
call fcn.2753d5b0
push 0x2750ce98
mov ecx, esi
call fcn.27540150
mov ecx, dword [edi + 0x6c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
push eax
mov ecx, esi
call fcn.27540150
lea ebx, [edi + 0x20]
push esi
mov ecx, ebx
call fcn.2753d5b0
call fcn.27595010
test al, al
je 0x275994c3
mov ecx, dword [esi]
push ecx
push 0x2752f3e0
push 0x2752f378
push 3
call fcn.27595fd0
add esp, 0x10
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x275994e1
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x27599570
lea edx, [edi + 0xc]
push edx
mov ecx, esi
call fcn.2753d5b0
push 0x2750ce98
mov ecx, esi
call fcn.27540150
mov ecx, dword [edi + 0x6c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
push eax
mov ecx, esi
call fcn.27540150
call fcn.27595010
test al, al
je 0x2759952a
mov eax, dword [esi]
push eax
push 0x2752f3e0
push 0x2752f310
push 3
call fcn.27595fd0
add esp, 0x10
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x27599544
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x27599570
push ebx
mov ecx, esi
mov byte [ebp - 0x11d], 1
call fcn.2753d5b0
call fcn.27595010
test al, al
je 0x27599570
push 0x2752f2b0
push 0x2752f248
push 3
call fcn.27595fd0
add esp, 0xc
mov bl, byte [ebp - 0x11d]
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], 0xffffffff
call fcn.275967d0
mov al, bl
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.2757f388
mov esp, ebp
pop ebp
ret