Function at 0x571a10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0add
mov eax, dword fs:[0]
push eax
sub esp, 0x854
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 - 0x858], ecx
push 0x669a68
lea ecx, [ebp - 0x260]
call fcn.00446660
mov dword [ebp - 4], 0
push 0x669a5c
lea ecx, [ebp - 0x260]
call fcn.004465f0
mov eax, dword [ebp - 0x858]
mov dword [eax + 0x500], 0
push 0x669a58
lea ecx, [ebp - 0x230]
call fcn.00446660
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x858]
cmp dword [ecx + 0x554], 0
je 0x571d9d
lea edx, [ebp - 0x314]
push edx
mov eax, dword [ebp - 0x858]
mov ecx, dword [eax + 0x554]
mov edx, dword [ebp - 0x858]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x554]
mov edx, dword [eax + 0x38]
call edx
mov dword [ebp - 0x85c], eax
mov eax, dword [ebp - 0x85c]
mov dword [ebp - 0x860], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x860]
call fcn.0049efe1
push eax
lea ecx, [ebp - 0x248]
call fcn.00446660
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x314]
call fcn.0049ea6b
lea ecx, [ebp - 0x248]
push ecx
call fcn.004dd23d
add esp, 4
movzx edx, al
test edx, edx
je 0x571b86
push 0x669a24
lea ecx, [ebp - 0x230]
call fcn.0044c0b0
lea ecx, [ebp - 0x230]
call fcn.004465b0
push eax
lea ecx, [ebp - 0x260]
call fcn.004465b0
push eax
mov eax, dword [ebp - 0x858]
mov ecx, dword [eax + 4]
push ecx
call fcn.00570f20
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.00446610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00446610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.00446610
jmp 0x571dcb
lea edx, [ebp - 0x248]
push edx
mov eax, dword [ebp - 0x858]
add eax, 0x520
push eax
lea ecx, [ebp - 0x278]
push ecx
call fcn.004dd3c6
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x278]
call fcn.004465b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x571cd1
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.004e1330
add esp, 0xc
lea ecx, [ebp - 0x248]
call fcn.004465b0
push eax
push str.__s_
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x290]
call fcn.00446660
mov byte [ebp - 4], 6
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x854]
call fcn.0058cbd0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x290]
call fcn.00446610
push 0
push 0
push 0
push 0
push 0
push 0
push 0x96c80000
push 0x669ad4
mov ecx, dword [ebp - 0x858]
mov edx, dword [ecx + 4]
push edx
lea ecx, [ebp - 0x854]
call fcn.00497150
lea ecx, [ebp - 0x854]
call fcn.00496feb
lea ecx, [ebp - 0x854]
call fcn.004976f5
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x854]
call fcn.0058cb70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x278]
call fcn.00446610
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.00446610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00446610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.00446610
jmp 0x571dcb
lea ecx, [ebp - 0x278]
call fcn.004465b0
push eax
call fcn.004dcd63
add esp, 4
movzx eax, al
test eax, eax
jne 0x571d67
push 0x669aac
lea ecx, [ebp - 0x230]
call fcn.0044c0b0
lea ecx, [ebp - 0x230]
call fcn.004465b0
push eax
lea ecx, [ebp - 0x260]
call fcn.004465b0
push eax
mov ecx, dword [ebp - 0x858]
mov edx, dword [ecx + 4]
push edx
call fcn.00570f20
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x278]
call fcn.00446610
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.00446610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00446610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.00446610
jmp 0x571dcb
lea eax, [ebp - 0x278]
push eax
mov ecx, dword [ebp - 0x858]
add ecx, 0x538
call fcn.0045d810
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x278]
call fcn.00446610
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.00446610
push 1
mov ecx, dword [ebp - 0x858]
call fcn.0049712a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00446610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.00446610
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