Function at 0x419970
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6ed3
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x63f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x1e0]
cmp dword [eax + 0x584], 0
jne 0x4199bf
jmp 0x419d7f
mov ecx, dword [ebp - 0x1e0]
add ecx, 0x56c
call fcn.0041a100
push 0
mov ecx, dword [ebp - 0x1e0]
mov ecx, dword [ecx + 0x584]
call fcn.0046cc00
mov edx, dword [ebp - 0x1e0]
mov dword [edx + 0x588], eax
push 1
mov eax, dword [ebp - 0x1e0]
mov ecx, dword [eax + 0x584]
call fcn.0046cc00
mov ecx, dword [ebp - 0x1e0]
mov dword [ecx + 0x58c], eax
push 2
mov edx, dword [ebp - 0x1e0]
mov ecx, dword [edx + 0x584]
call fcn.0046cc00
mov ecx, dword [ebp - 0x1e0]
mov dword [ecx + 0x590], eax
mov dword [ebp - 0x1f4], 0
jmp 0x419a48
mov edx, dword [ebp - 0x1f4]
add edx, 1
mov dword [ebp - 0x1f4], edx
mov eax, dword [ebp - 0x1e0]
mov ecx, dword [ebp - 0x1f4]
cmp ecx, dword [eax + 0x588]
jge 0x419ce7
mov edx, dword [ebp - 0x1f4]
push edx
mov eax, dword [ebp - 0x1e0]
mov ecx, dword [eax + 0x558]
mov edx, dword [ebp - 0x1e0]
mov eax, dword [edx + 0x558]
add eax, 0x558
mov edx, dword [ecx + 0x558]
mov ecx, eax
mov eax, dword [edx]
call eax
mov dword [ebp - 0x1e8], eax
cmp dword [ebp - 0x1e8], 0
je 0x419ce2
mov ecx, dword [ebp - 0x1e8]
call fcn.004b11a6
test eax, eax
je 0x419ce2
mov ecx, dword [ebp - 0x1e8]
call fcn.004b11a6
push eax
lea ecx, [ebp - 0x40]
call fcn.00418610
mov dword [ebp - 4], 0
push 0x5eb00c
lea ecx, [ebp - 0x28]
call fcn.00418610
mov byte [ebp - 4], 1
push 0
mov ecx, dword [ebp - 0x1e8]
add ecx, 0x558
mov edx, dword [ebp - 0x1e8]
mov eax, dword [edx + 0x558]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x1f0], eax
cmp dword [ebp - 0x1f0], 0
je 0x419b6c
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x1f0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1f0]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0x1fc]
mov dword [ebp - 0x200], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1ec]
or edx, 1
mov dword [ebp - 0x1ec], edx
mov ecx, dword [ebp - 0x200]
call fcn.004b3701
cmp eax, 0x5eb010
je 0x419b6c
mov dword [ebp - 0x1f8], 1
jmp 0x419b76
mov dword [ebp - 0x1f8], 0
mov al, byte [ebp - 0x1f8]
mov byte [ebp - 0x1e1], al
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x1ec]
and ecx, 1
je 0x419ba6
and dword [ebp - 0x1ec], 0xfffffffe
lea ecx, [ebp - 0x158]
call fcn.004b3603
movzx edx, byte [ebp - 0x1e1]
test edx, edx
je 0x419c04
lea eax, [ebp - 0x1dc]
push eax
mov ecx, dword [ebp - 0x1f0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1f0]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x204], eax
mov ecx, dword [ebp - 0x204]
mov dword [ebp - 0x208], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x208]
call fcn.004b3701
push eax
lea ecx, [ebp - 0x28]
call fcn.00413680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1dc]
call fcn.004b3603
mov edx, dword [ebp - 0x1f4]
add edx, 1
push edx
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x1e0]
mov ecx, dword [ecx + 0x584]
call fcn.00469290
mov ecx, eax
call fcn.00426d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.0041a3e0
movzx edx, al
test edx, edx
jne 0x419c64
lea ecx, [ebp - 0x5c]
call fcn.00413640
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419c64
lea ecx, [ebp - 0x5c]
call fcn.00413640
push eax
lea ecx, [ebp - 0x40]
call fcn.00413680
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0xd4]
push edx
call fcn.0041a860
add esp, 0xc
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x210], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x1e0]
add ecx, 0x56c
call fcn.0041a250
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd4]
call fcn.00419da0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.00419930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00413710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00413710
jmp 0x419a39
mov edx, dword [ebp - 0x1e0]
mov eax, dword [edx + 0x558]
mov ecx, dword [ebp - 0x1e0]
mov ecx, dword [ecx + 0x558]
add ecx, 0x558
mov edx, dword [eax + 0x558]
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [ebp - 0x1e0]
add ecx, 0x56c
call fcn.0041a1a0
movzx ecx, al
test ecx, ecx
je 0x419d2a
jmp 0x419d7f
mov edx, dword [ebp - 0x1e0]
mov dword [edx + 0x564], 0
push 0
mov ecx, dword [ebp - 0x1e0]
call fcn.00419dc0
push eax
mov eax, dword [ebp - 0x1e0]
mov ecx, dword [eax + 0x558]
mov edx, dword [ebp - 0x1e0]
mov eax, dword [edx + 0x558]
add eax, 0x558
mov edx, dword [ecx + 0x558]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x1e0]
mov byte [ecx + 0x560], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6edb
mov esp, ebp
pop ebp
ret