Function at 0x4146e5
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x74
lea ebp, [esp - 4]
mov eax, dword [0x47f180]
xor eax, ebp
mov dword [ebp + 0x74], eax
push 0x124
mov eax, 0x45e3ad
call fcn.0044229c
mov edi, ecx
lea ebx, [edi + 0xc8]
push str.checkBootstrapperVersion__
mov esi, ebx
mov dword [ebp], edi
call fcn.00408201
pop ecx
lea eax, [ebp - 0x70]
call fcn.0042442c
and dword [ebp - 4], 0
push dword [0x4887ac]
mov ecx, eax
call fcn.0042447b
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00424946
push 0xffffffffffffffff
push 0
lea esi, [edi + 0xa0]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004084ca
push 0
push 1
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], 0
call fcn.00408639
cmp dword [esi + 0x18], 0x10
jb 0x414775
mov esi, dword [esi + 4]
jmp 0x414778
add esi, 4
push esi
push str.module_file_version:__s
mov esi, ebx
call fcn.00408201
pop ecx
pop ecx
push str.Connecting_to_Rim014...
lea ecx, [ebp + 0x20]
call fcn.004073fe
push edi
lea ebx, [ebp + 0x20]
mov byte [ebp - 4], 2
call fcn.004131c4
push 0
push 1
mov ecx, ebx
call fcn.00408639
sub esp, 0x1c
mov byte [ebp - 4], 3
mov esi, esp
mov dword [ebp - 0x14], esp
call fcn.004073eb
lea eax, [ebp + 0x3c]
push eax
mov ecx, edi
call fcn.004143ef
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
lea ecx, [edi + 0x1cc]
mov byte [ebp - 4], 4
call fcn.004084ca
push esi
push 1
lea ecx, [ebp + 0x3c]
call fcn.00408639
mov dword [ebp - 4], esi
jmp 0x414883
push 0xf
pop ebx
push 0
lea ecx, [ebp + 4]
mov dword [ebp + 0x1c], ebx
call fcn.00409371
lea eax, [ebp - 0x130]
push eax
mov byte [ebp - 4], 9
call fcn.00402507
sub esp, 0x20
mov esi, esp
mov dword [ebp - 0x14], esp
push dword [ebp - 0x18]
mov eax, fcn.00410639
push eax
call fcn.0040a7d3
push 0
push 0
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x38], ebx
call fcn.00409371
lea eax, [ebp + 0x20]
push eax
lea eax, [edi + 0x1cc]
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x18], 0x10
jb 0x4148e1
mov ebx, dword [eax + 4]
jmp 0x4148e4
lea ebx, [eax + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x74]
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x20], esp
push eax
push ebx
push str.__s__S
call fcn.004251e2
add esp, 0xc
sub esp, 0x1c
lea eax, [edi + 0x1b0]
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov dword [ebp - 0x40], eax
call fcn.00407420
lea ecx, [ebp - 0x130]
mov edx, edi
mov byte [ebp - 4], 0xe
call fcn.00427cd1
add esp, 0x60
push 0
push 1
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0xa
call fcn.00408639
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.0040a5e7
pop ecx
pop ecx
lea eax, [ebp - 0x12c]
call fcn.00402071
push eax
lea ecx, [ebp + 4]
call fcn.0040855c
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 9
call fcn.004025b8
mov dword [ebp - 4], 8
cmp dword [ebp + 0x1c], 0x10
mov ecx, dword [ebp + 8]
lea eax, [edi + 0xa0]
mov dword [ebp - 0x14], eax
jae 0x414990
lea ecx, [ebp + 8]
mov ebx, dword [ebp + 0x18]
mov edx, dword [eax + 0x14]
push ecx
call fcn.004085ee
test eax, eax
je 0x414f02
xor esi, esi
cmp byte [edi + 0x5d], 0
je 0x4149c4
lea esi, [ebp - 0x94]
call fcn.004204ee
push 0x47376c
mov eax, esi
push eax
call fcn.00442373
xor eax, eax
mov dword [ebp + 0x70], 7
mov dword [ebp + 0x6c], esi
mov word [ebp + 0x5c], ax
mov byte [ebp - 4], 0x11
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x44]
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], 0x12
call fcn.00415b1a
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 0x13
call fcn.00407487
push esi
cmp eax, esi
push 1
lea ecx, [ebp + 0x3c]
sete bl
mov byte [ebp - 4], 0x12
call fcn.00408639
test bl, bl
je 0x414af9
mov ecx, dword [ebp]
lea eax, [ebp + 0x3c]
push eax
call fcn.00410817
push 0xffffffffffffffff
push esi
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 0x14
call fcn.004087c1
xor ebx, ebx
push ebx
push 1
lea esi, [ebp + 0x3c]
call fcn.00408971
cmp dword [ebp + 0x6c], ebx
je 0x414af9
cmp dword [ebp + 0x70], 8
mov eax, dword [ebp + 0x5c]
jae 0x414a50
lea eax, [ebp + 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414af9
lea eax, [ebp - 0x34]
call fcn.0042442c
mov byte [ebp - 4], 0x15
cmp dword [ebp + 0x70], 8
mov eax, dword [ebp + 0x5c]
jae 0x414a77
lea eax, [ebp + 0x5c]
push eax
push 0x463868
lea esi, [ebp + 0x3c]
call fcn.004251e2
pop ecx
pop ecx
mov ecx, esi
lea edi, [ebp - 0x34]
mov byte [ebp - 4], 0x16
call fcn.00424535
lea eax, [ebp - 0x5c]
push eax
mov eax, edi
push eax
call fcn.00424946
push 0xffffffffffffffff
mov byte [ebp - 4], 0x17
mov esi, dword [ebp - 0x14]
push ebx
push eax
mov ecx, esi
call fcn.004084ca
push ebx
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x16
call fcn.00408639
cmp dword [esi + 0x18], 0x10
jb 0x414acd
mov esi, dword [esi + 4]
jmp 0x414ad0
add esi, 4
push esi
mov esi, dword [ebp]
push str.installed_bootstrapper_file_version:__s
add esi, 0xc8
call fcn.00408201
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp + 0x3c]
call fcn.00408639
lea esi, [ebp - 0x34]
call fcn.0042444e
mov dword [ebp - 4], 0x11
cmp dword [ebp + 0x1c], 0x10
mov edi, dword [ebp]
mov ecx, dword [ebp + 8]
lea eax, [edi + 0xa0]
jae 0x414b15
lea ecx, [ebp + 8]
mov ebx, dword [ebp + 0x18]
mov edx, dword [eax + 0x14]
push ecx
call fcn.004085ee
test eax, eax
je 0x414cfd
mov ecx, dword [edi + 0x48]
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp byte [edi + 0x5e], 0
je 0x414b89
cmp byte [edi + 0x5f], 0
je 0x414b89
mov ecx, dword [edi + 0x48]
mov eax, dword [ecx]
push 4
push str.DEBUG
push str.Download_latest_bootstrapper_
call dword [eax + 4]
cmp eax, 7
jne 0x414b89
push 0
push 1
lea esi, [ebp + 0x58]
call fcn.00408971
mov bl, 1
jmp 0x414f2e
push str.Getting_the_latest_Rim014...
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], 0x19
call fcn.004073fe
push edi
lea ebx, [ebp + 0x3c]
mov byte [ebp - 4], 0x1a
call fcn.004131c4
push 0
push 1
mov ecx, ebx
mov byte [ebp - 4], 0x19
call fcn.00408639
mov ecx, 0x464110
lea ebx, [ebp - 0x5c]
call fcn.0040813d
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 0x1b
call fcn.004087c1
push 0
push 1
mov esi, ebx
mov byte [ebp - 4], 0x19
call fcn.00408971
cmp dword [ebp + 0x70], 8
mov eax, dword [ebp + 0x5c]
jae 0x414bee
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0x20
pop ecx
call fcn.004078c8
sub esp, 0x20
mov esi, esp
mov dword [ebp - 0x18], esp
push dword [ebp - 0x18]
mov eax, fcn.00410639
push eax
call fcn.0040a7d3
push 0
push 0
lea ecx, [ebp - 0x3c]
lea ebx, [ebp - 0x12c]
mov dword [ebp - 0x24], 0xf
call fcn.00409371
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x1e
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x94]
mov byte [ebp - 4], 0x1f
cmp dword [eax + 0x18], 8
jb 0x414c52
mov ecx, dword [eax + 4]
jmp 0x414c55
lea ecx, [eax + 4]
lea eax, [edi + 0x1cc]
cmp dword [eax + 0x18], 0x10
jb 0x414c66
mov eax, dword [eax + 4]
jmp 0x414c69
add eax, 4
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x20], esp
push ecx
push eax
push str.__s__S
call fcn.004251e2
add esp, 0xc
sub esp, 0x1c
mov byte [ebp - 4], 0x20
lea eax, [edi + 0x1b0]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00407420
mov edx, ebx
mov ecx, edi
mov byte [ebp - 4], 0x22
call fcn.00429579
add esp, 0x60
push 0
push 1
lea esi, [ebp - 0x5c]
call fcn.00408971
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.00408639
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 0x19
call fcn.004058b9
mov dword [ebp - 4], 0x11
push str.Please_Wait...
lea ecx, [ebp + 0x3c]
call fcn.004073fe
push dword [ebp]
lea ebx, [ebp + 0x3c]
mov byte [ebp - 4], 0x2a
call fcn.004131c4
push 0
push 1
mov ecx, ebx
call fcn.00408639
and dword [ebp + 0x34], 0
xor eax, eax
mov dword [ebp + 0x38], 7
mov word [ebp + 0x24], ax
xor edi, edi
inc edi
mov byte [ebp - 4], 0x2b
cmp dword [0x488a1c], edi
jle 0x414db1
mov ebx, 0x465ee8
cmp dword [ebp + 0x34], 0
je 0x414d3a
push 0x465eec
lea eax, [ebp + 0x20]
push eax
call fcn.0040752a
push ebx
lea esi, [ebp - 0x3c]
call fcn.004074dc
mov byte [ebp - 4], 0x2c
mov ecx, dword [0x488a24]
push dword [ecx + edi*4]
push eax
lea eax, [ebp + 0x3c]
push eax
call fcn.0040a81c
push ebx
push eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 0x2d
call fcn.0040a81c
add esp, 0x18
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x2e
call fcn.00408684
push 0
push 1
lea esi, [ebp - 0x5c]
call fcn.00408971
push 0
push 1
lea esi, [ebp + 0x3c]
call fcn.00408971
push 0
push 1
lea esi, [ebp - 0x3c]
mov byte [ebp - 4], 0x2b
call fcn.00408971
inc edi
cmp edi, dword [0x488a1c]
jl 0x414d26
and dword [ebp - 0x84], 0
and dword [ebp - 0x88], 0
mov byte [ebp - 4], 0x2f
cmp dword [ebp + 0x38], 8
mov ecx, dword [ebp + 0x24]
jae 0x414dcf
lea ecx, [ebp + 0x24]
cmp dword [ebp + 0x70], 8
mov edi, dword [ebp + 0x5c]
jae 0x414ddb
lea edi, [ebp + 0x5c]
push dword [ebp]
lea edx, [ebp - 0x88]
call fcn.00410a24
mov eax, dword [ebp]
push 1
lea esi, [ebp - 0xa4]
mov byte [eax + 0x68], 1
call fcn.0042057a
push 0x473730
mov eax, esi
jmp 0x4149be
push 0
push 1
lea ecx, [ebp + 4]
call fcn.00408639
lea esi, [ebp - 0x70]
call fcn.0042444e
mov al, 1
jmp 0x414fa3
push 0
push 1
lea ecx, [ebp + 4]
call fcn.00408639
lea esi, [ebp - 0x70]
call fcn.0042444e
mov al, bl
jmp 0x414fa3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
call fcn.0043e40d
add ebp, 0x78
leave
ret