Function at 0x41a6f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5b53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push esi
mov dword [ebp - 0x10], ecx
mov ecx, 0x511b41
call fcn.004a7e89
mov ecx, dword [ebp - 0x10]
add ecx, 0x77c
call fcn.004069e0
movzx eax, al
test eax, eax
jne 0x41a7f0
mov ecx, dword [ebp - 0x10]
add ecx, 0x77c
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x780
call fcn.00405270
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
mov edx, dword [ebp - 0x10]
add edx, 0x780
push edx
call fcn.00404620
lea eax, [ebp - 0xb4]
push eax
call fcn.00407a50
add esp, 8
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0xb4]
call fcn.00409630
mov cl, byte [eax]
movzx edx, cl
push edx
call fcn.00408210
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x788], eax
mov dword [ecx + 0x78c], edx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x7b0], 0
je 0x41a7d9
mov ecx, dword [ebp - 0x10]
add ecx, 0x780
call fcn.00405410
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x7b0]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x7b0]
mov edx, dword [eax + 0x2c]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.00401ed0
jmp 0x41ab29
mov eax, 0x47
mov word [ebp - 0x3c], ax
mov ecx, 0x50
mov word [ebp - 0x3a], cx
mov edx, 0x54
mov word [ebp - 0x38], dx
mov eax, 0x43
mov word [ebp - 0x36], ax
mov ecx, 0x68
mov word [ebp - 0x34], cx
mov edx, 0x72
mov word [ebp - 0x32], dx
mov eax, 0x6f
mov word [ebp - 0x30], ax
mov ecx, 0x6d
mov word [ebp - 0x2e], cx
mov edx, 0x65
mov word [ebp - 0x2c], dx
xor eax, eax
mov word [ebp - 0x2a], ax
push ecx
mov esi, esp
mov dword [ebp - 0x70], esp
lea ecx, [ebp - 0x19]
call fcn.00402cb0
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x94]
call fcn.00404d30
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x80]
call fcn.00404da0
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x5c]
call fcn.00409750
push eax
mov ecx, esi
call fcn.00404700
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00419d80
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.00405100
lea ecx, [ebp - 0x14]
call fcn.004069e0
movzx edx, al
test edx, edx
jne 0x41a998
lea ecx, [ebp - 0x14]
call fcn.00405410
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41a998
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x780
call fcn.00405270
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x79c], 0
jl 0x41a932
jg 0x41a912
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x798], 0x128c5680
jbe 0x41a932
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x798]
mov edx, dword [edx + 0x79c]
mov dword [ecx + 0x788], eax
mov dword [ecx + 0x78c], edx
jmp 0x41a950
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x790]
mov ecx, dword [ecx + 0x794]
mov dword [eax + 0x788], edx
mov dword [eax + 0x78c], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x7b0], 0
je 0x41a984
mov ecx, dword [ebp - 0x10]
add ecx, 0x780
call fcn.00405410
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x7b0]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x7b0]
mov edx, dword [eax + 0x2c]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404fb0
jmp 0x41ab29
lea eax, [ebp - 0x18]
push eax
call fcn.004083c0
add esp, 4
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x79c], 0
jl 0x41a9f8
jg 0x41a9cb
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x798], 0x128c5680
jbe 0x41a9f8
push str.D:Program_Files_
lea ecx, [ebp - 0x18]
call fcn.00405330
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x798]
mov edx, dword [edx + 0x79c]
mov dword [ecx + 0x788], eax
mov dword [ecx + 0x78c], edx
jmp 0x41aa16
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x790]
mov ecx, dword [ecx + 0x794]
mov dword [eax + 0x788], edx
mov dword [eax + 0x78c], ecx
mov edx, 0x47
mov word [ebp - 0x54], dx
mov eax, 0x50
mov word [ebp - 0x52], ax
mov ecx, 0x54
mov word [ebp - 0x50], cx
mov edx, 0x43
mov word [ebp - 0x4e], dx
mov eax, 0x68
mov word [ebp - 0x4c], ax
mov ecx, 0x72
mov word [ebp - 0x4a], cx
mov edx, 0x6f
mov word [ebp - 0x48], dx
mov eax, 0x6d
mov word [ebp - 0x46], ax
mov ecx, 0x65
mov word [ebp - 0x44], cx
xor edx, edx
mov word [ebp - 0x42], dx
lea ecx, [ebp - 0x1a]
call fcn.00402cb0
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.00404d30
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00404da0
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x64]
call fcn.00409750
push eax
lea ecx, [ebp - 0x18]
call fcn.004056d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
call fcn.00405100
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x780
call fcn.00405270
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x7b0], 0
je 0x41ab0e
mov ecx, dword [ebp - 0x10]
add ecx, 0x780
call fcn.00405410
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x7b0]
mov eax, dword [ebp - 0x10]
mov edx, dword [edx]
mov ecx, dword [eax + 0x7b0]
mov eax, dword [edx + 0x2c]
call eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00404fb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404fb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret