Function at 0x433020
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov ecx, dword [ebp + 8]
call fcn.00423370
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x4330f0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x14], 8
jb 0x43305c
mov dword [ebp - 0x24], 1
jmp 0x433063
mov dword [ebp - 0x24], 0
mov al, byte [ebp - 0x24]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x43307f
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
movzx edx, word [ecx]
test edx, edx
je 0x4330f0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x14], 8
jb 0x4330b3
mov dword [ebp - 0x2c], 1
jmp 0x4330ba
mov dword [ebp - 0x2c], 0
mov al, byte [ebp - 0x2c]
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 2]
test ecx, ecx
je 0x4330d6
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4330f7
xor eax, eax
jmp 0x433386
xor edx, edx
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x14], 8
jb 0x43314d
mov dword [ebp - 0x34], 1
jmp 0x433154
mov dword [ebp - 0x34], 0
mov al, byte [ebp - 0x34]
mov byte [ebp - 3], al
movzx ecx, byte [ebp - 3]
test ecx, ecx
je 0x433170
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
lea ecx, [ebp - 0xc8]
push ecx
push 0
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x43321a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x14], 8
jb 0x4331b5
mov dword [ebp - 0x3c], 1
jmp 0x4331bc
mov dword [ebp - 0x3c], 0
mov al, byte [ebp - 0x3c]
mov byte [ebp - 4], al
movzx ecx, byte [ebp - 4]
test ecx, ecx
je 0x4331de
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
push 0x4abd6c
push str._s:GetFileAttributesExW__s__no:_d
call fcn.00454b60
add esp, 0x10
xor eax, eax
jmp 0x433386
mov edx, dword [ebp - 0xc8]
and edx, 0x400
je 0x433384
push 0x250
push 0
lea eax, [ebp - 0x318]
push eax
call fcn.0045d480
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 8
jb 0x433260
mov dword [ebp - 0x44], 1
jmp 0x433267
mov dword [ebp - 0x44], 0
mov cl, byte [ebp - 0x44]
mov byte [ebp - 5], cl
movzx edx, byte [ebp - 5]
test edx, edx
je 0x433289
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], ecx
lea edx, [ebp - 0x318]
push edx
mov eax, dword [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
je 0x433308
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0xc], 0
je 0x4332d6
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc8]
mov dword [edx], eax
cmp dword [ebp - 0x2f4], 0xa000000c
je 0x4332f7
cmp dword [ebp - 0x2f4], 0xa0000003
je 0x4332f7
mov dword [ebp - 0x50], 0
jmp 0x4332fe
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x50]
jmp 0x433386
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 8
jb 0x433326
mov dword [ebp - 0x54], 1
jmp 0x43332d
mov dword [ebp - 0x54], 0
mov cl, byte [ebp - 0x54]
mov byte [ebp - 6], cl
movzx edx, byte [ebp - 6]
test edx, edx
je 0x43334f
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0xa4]
push edx
push str.CJHFileHelper::IsSymbolLink
push str._s:FindFirstFileW__s__no:_d
call fcn.00454b60
add esp, 0x10
xor eax, eax
mov esp, ebp
pop ebp
ret 8