Function at 0x427107
Capabilities:
Check if file exists

Disassembly:
push 0x1a4
mov eax, 0x4453a7
call fcn.0043ff5c
mov edi, ecx
lea eax, [edi + 0x150]
push str.checkBootstrapperVersion__
push eax
mov dword [ebp - 0xac], edi
call fcn.00402357
xor ebx, ebx
pop ecx
pop ecx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xd0], 0x4e40000
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 4], ebx
push dword [0x4706d0]
lea ecx, [ebp - 0xd0]
call fcn.00432240
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00432698
lea esi, [edi + 0x80]
push eax
mov ecx, esi
call fcn.0040224d
lea ecx, [ebp - 0x44]
call fcn.00402286
cmp dword [esi + 0x14], 0x10
jb 0x427196
mov esi, dword [esi]
push esi
lea eax, [edi + 0x150]
push str.module_file_version:__s
push eax
call fcn.00402357
add esp, 0xc
lea ecx, [ebp - 0x44]
push str.Connecting_to_CrunchRev...
call fcn.0040221e
xor eax, eax
inc eax
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], al
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
call fcn.00424b82
lea ecx, [ebp - 0x44]
call fcn.00402286
sub esp, 0x18
mov eax, esp
mov byte [ebp - 4], 2
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ebx
mov byte [eax], bl
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
call fcn.00426c59
push eax
lea ecx, [edi + 0xd4]
call fcn.0040224d
lea ecx, [ebp - 0x44]
call fcn.00402286
mov dword [ebp - 4], ebx
jmp 0x4272ac
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], ebx
mov byte [ebp - 0x74], bl
push ecx
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 6
call fcn.0041285c
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xb0], esp
push dword [ebp - 0xb4]
push fcn.00401000
push ecx
call fcn.0040cf11
lea esi, [edi + 0xd4]
mov byte [ebp - 4], 8
cmp dword [esi + 0x14], 0x10
jb 0x4272f7
mov esi, dword [esi]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xb8]
sub esp, 0x18
mov ecx, eax
mov eax, esp
mov dword [ebp - 0xbc], esp
push ecx
push esi
push str.__s__S
push eax
call fcn.0040f87a
add esp, 0x10
sub esp, 0x18
lea eax, [edi + 0xbc]
mov ecx, esp
push eax
mov byte [ebp - 4], 9
call fcn.00403fe0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
mov byte [ebp - 4], 0xa
push 1
lea eax, [ebp - 0x1b0]
push ebx
push eax
lea edx, [ebp - 0x44]
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.00413518
add esp, 0x5c
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.00402286
xor dl, dl
lea ecx, [ebp - 0x1b0]
call fcn.00416f0e
lea ecx, [ebp - 0x1ac]
call fcn.004123ae
mov esi, eax
push esi
call fcn.004010d9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x74]
call fcn.004029ec
lea ecx, [ebp - 0x150]
call fcn.004128c8
lea ecx, [ebp - 0x150]
call dword [sym.imp.MSVCP110.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov dword [ebp - 4], 5
cmp dword [ebp - 0x60], 0x10
push dword [ebp - 0x64]
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
lea ecx, [edi + 0x80]
push eax
push dword [ecx + 0x10]
push ecx
call fcn.00404787
test eax, eax
je 0x427995
cmp byte [edi + 0x49], 0
je 0x427418
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xa8], str.NonZeroExitException
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
mov dword [ebp - 0xdc], vtable.non_zero_exit_exception.0
push 0x45c358
lea eax, [ebp - 0xdc]
push eax
call sub.MSVCR110.dll__CxxThrowException
push 7
pop esi
xor eax, eax
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 0xe
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xf
call fcn.004286d0
lea ecx, [edi + 0xbc]
push ecx
mov ecx, eax
call fcn.00404029
mov ebx, eax
neg ebx
lea ecx, [ebp - 0x2c]
sbb bl, bl
call fcn.00402286
inc bl
je 0x42751b
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00420d01
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040b78e
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040253d
cmp dword [ebp - 0x4c], ebx
je 0x42751d
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42751d
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], 0x4e40000
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call fcn.004322d9
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00432698
push eax
lea ecx, [edi + 0x80]
call fcn.0040224d
lea ecx, [ebp - 0x8c]
call fcn.00402286
lea eax, [edi + 0x80]
cmp dword [eax + 0x14], 0x10
jb 0x4274fc
mov eax, dword [eax]
push eax
lea eax, [edi + 0x150]
push str.installed_bootstrapper_file_version:__s
push eax
call fcn.00402357
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00432216
jmp 0x42751d
xor ebx, ebx
mov dword [ebp - 4], 0xe
jmp 0x427567
cmp dword [ebp - 0x60], 0x10
push dword [ebp - 0x64]
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
lea ecx, [edi + 0x80]
push eax
push dword [ecx + 0x10]
push ecx
call fcn.00404787
test eax, eax
je 0x42783d
mov ecx, dword [edi + 0x11c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp byte [edi + 0x4a], 0
je 0x4275cf
cmp byte [edi + 0x4b], 0
je 0x4275cf
mov ecx, dword [edi + 0x11c]
push 4
mov eax, dword [ecx]
push str.DEBUG
push str.Download_latest_bootstrapper_
call dword [eax + 4]
cmp eax, esi
jne 0x4275cf
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.0040253d
jmp 0x4279c5
push str.Getting_the_latest_CrunchRev...
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x12
call fcn.0040221e
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov byte [ebp - 4], 0x13
call fcn.00424b82
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x12
call fcn.00402286
mov edx, 0x44cdb8
lea ecx, [ebp - 0x8c]
call fcn.0040c138
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040b78e
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x8c]
call fcn.0040253d
cmp dword [ebp - 0x48], 8
push ecx
push ecx
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push 0x20
push eax
lea ecx, [ebp - 0x1b0]
call fcn.0040b7c1
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xb4], esp
push dword [ebp - 0xb4]
push fcn.00401000
push ecx
call fcn.0040cf11
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x15
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xdc]
mov edx, eax
mov byte [ebp - 4], 0x16
cmp dword [edx + 0x14], 8
jb 0x42767e
mov edx, dword [edx]
lea ecx, [edi + 0xd4]
cmp dword [ecx + 0x14], 0x10
jb 0x42768c
mov ecx, dword [ecx]
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0xbc], esp
push edx
push ecx
push str.__s__S
push eax
call fcn.0040f87a
add esp, 0x10
sub esp, 0x18
lea eax, [edi + 0xbc]
mov ecx, esp
push eax
mov byte [ebp - 4], 0x17
call fcn.00403fe0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x1b0]
push ebx
push eax
lea edx, [ebp - 0x2c]
mov ecx, edi
mov byte [ebp - 4], 0x1a
call fcn.00415578
add esp, 0x58
lea ecx, [ebp - 0x2c]
call fcn.00402286
push ebx
push esi
lea ecx, [ebp - 0x8c]
call fcn.0040253d
lea ecx, [ebp - 0x150]
call fcn.0040b856
lea ecx, [ebp - 0x150]
call dword [sym.imp.MSVCP110.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
jmp 0x427812
push str.Please_Wait...
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xe
call fcn.0040221e
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov byte [ebp - 4], 0x21
call fcn.00424b82
lea ecx, [ebp - 0x2c]
call fcn.00402286
mov edx, ebx
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], edx
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 0x22
mov eax, dword [sym.imp.MSVCR110.dll___argc]
xor ecx, ecx
inc ecx
mov dword [ebp - 0xa8], ecx
cmp dword [eax], ecx
jle 0x42793b
xor esi, esi
inc esi
test edx, edx
je 0x427888
mov ecx, 0x44fba4
call fcn.00405e95
push eax
push 0x44fba4
lea ecx, [ebp - 0x44]
call fcn.0040d4ec
xor eax, eax
push 0x44fba0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.0040c52a
mov byte [ebp - 4], 0x23
mov eax, dword [sym.imp.MSVCR110.dll___wargv]
mov ecx, dword [ebp - 0xa8]
mov eax, dword [eax]
lea edx, [ebp - 0x2c]
push dword [eax + ecx*4]
lea ecx, [ebp - 0xa4]
call fcn.0040cf85
mov byte [ebp - 4], 0x24
mov edx, eax
lea ecx, [ebp - 0x8c]
mov dword [esp], 0x44fba0
call fcn.0040cf85
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x25
call fcn.0040c487
push ebx
push esi
lea ecx, [ebp - 0x8c]
call fcn.0040253d
push ebx
push esi
lea ecx, [ebp - 0xa4]
call fcn.0040253d
push ebx
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x22
call fcn.0040253d
mov ecx, dword [ebp - 0xa8]
mov eax, dword [sym.imp.MSVCR110.dll___argc]
inc ecx
mov dword [ebp - 0xa8], ecx
cmp ecx, dword [eax]
jge 0x427936
mov edx, dword [ebp - 0x34]
jmp 0x42786c
mov eax, dword [ebp - 0x30]
jmp 0x42793e
push 7
pop eax
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xf4], ebx
cmp eax, 8
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x48], 8
lea edx, [ebp - 0xf4]
push edx
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push ecx
push eax
mov ecx, edi
call fcn.00420e5f
xor eax, eax
inc eax
push eax
lea ecx, [ebp - 0x104]
mov byte [edi + 0x54], al
call fcn.00432093
push 0x45c394
lea eax, [ebp - 0x104]
jmp 0x427412
lea ecx, [ebp - 0x74]
call fcn.00402286
lea ecx, [ebp - 0xd0]
call fcn.00432216
mov al, 1
jmp 0x427a3d
lea ecx, [ebp - 0x74]
call fcn.00402286
lea ecx, [ebp - 0xd0]
call fcn.00432216
mov al, byte [ebp - 0xa8]
jmp 0x427a3d
call fcn.0043feae
ret