Function at 0x57dad0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1d8b
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x70c0f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc0], ecx
lea ecx, [ebp - 0xec]
call fcn.00553c20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xe0]
call fcn.00553c20
mov byte [ebp - 4], 1
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xec]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00447710
push eax
call fcn.00557af0
add esp, 0xc
mov byte [ebp - 0xb9], al
movzx edx, byte [ebp - 0xb9]
test edx, edx
je 0x57db7b
lea eax, [ebp - 0xec]
push eax
mov ecx, dword [ebp - 0xc0]
add ecx, 0x540
call fcn.00553b70
lea ecx, [ebp - 0xe0]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00553b70
jmp 0x57dbd3
movzx edx, byte [ebp + 0x10]
test edx, edx
jne 0x57dbb6
mov byte [ebp - 0xc1], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe0]
call fcn.00447680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.00447680
mov al, byte [ebp - 0xc1]
jmp 0x57de4b
mov ecx, dword [ebp - 0xc0]
add ecx, 0x540
call fcn.00447720
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00553b70
mov ecx, dword [ebp - 0xc0]
cmp dword [ecx + 0x514], 0
je 0x57de18
lea ecx, [ebp - 0x58]
call fcn.0044ee30
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xc0]
add ecx, 0x540
call fcn.00447710
push eax
lea ecx, [ebp - 0x40]
call fcn.00446660
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
call fcn.004476b0
movzx edx, al
test edx, edx
je 0x57dd41
mov ecx, dword [ebp - 0xc0]
add ecx, 0x540
call fcn.00447710
push eax
lea ecx, [ebp - 0x28]
call fcn.00446660
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0044ec90
movzx eax, al
test eax, eax
jne 0x57dd33
lea ecx, [ebp - 0x28]
call fcn.0045a6c0
sub eax, 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00467580
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x57dc8c
lea ecx, [ebp - 0x28]
call fcn.0045a6c0
sub eax, 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00467580
movzx edx, word [eax]
cmp edx, 0x2f
jne 0x57dcc3
lea ecx, [ebp - 0x28]
call fcn.0045a6c0
sub eax, 1
push eax
push 0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.0044ec40
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044ecc0
lea ecx, [ebp - 0x70]
call fcn.00446610
lea ecx, [ebp - 0x28]
call fcn.004465b0
push eax
lea edx, [ebp - 0x88]
push edx
call fcn.004d918d
add esp, 8
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x58]
call fcn.0044ecc0
lea ecx, [ebp - 0x88]
call fcn.00446610
lea ecx, [ebp - 0x58]
call fcn.004465b0
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.004d93ce
add esp, 8
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0xd0]
push edx
lea ecx, [ebp - 0x58]
call fcn.0044ecc0
lea ecx, [ebp - 0xa0]
call fcn.00446610
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00446610
jmp 0x57dd92
mov ecx, dword [ebp + 0xc]
call fcn.00447710
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004d93ce
add esp, 8
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
push ecx
lea ecx, [ebp - 0x58]
call fcn.0044ecc0
lea ecx, [ebp - 0xb8]
call fcn.00446610
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x40]
call fcn.0044c090
push 0x683880
lea ecx, [ebp - 0x40]
call fcn.004465f0
lea ecx, [ebp - 0x40]
call fcn.004465b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x57ddd8
mov ecx, dword [ebp - 0xc0]
add ecx, 0x540
call fcn.00447710
push eax
lea ecx, [ebp - 0x40]
call fcn.0044c0b0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x40]
call fcn.0044c090
push 0x68388c
lea ecx, [ebp - 0x40]
call fcn.004465f0
lea ecx, [ebp - 0x40]
call fcn.004465b0
push eax
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0x514]
mov eax, dword [ebp - 0xc0]
mov edx, dword [edx]
mov ecx, dword [eax + 0x514]
mov eax, dword [edx + 0x3c]
call eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00446610
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00446610
mov cl, byte [ebp - 0xb9]
mov byte [ebp - 0xc2], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe0]
call fcn.00447680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.00447680
mov al, byte [ebp - 0xc2]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00495c0c
mov esp, ebp
pop ebp
ret 0xc