Function at 0x419c9d
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x5c
lea ebp, [esp - 4]
mov eax, dword [0x48d190]
xor eax, ebp
mov dword [ebp + 0x5c], eax
push 0x138
mov eax, 0x467ace
call fcn.0044aa3c
mov edi, ecx
lea ebx, [edi + 0x1ac]
push str.checkBootstrapperVersion__
mov esi, ebx
mov dword [ebp + 4], edi
call fcn.0040892e
pop ecx
lea eax, [ebp - 0x68]
call fcn.00427758
and dword [ebp - 4], 0
push dword [0x496aa4]
mov ecx, eax
call fcn.004277a7
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00427bf9
push 0xffffffffffffffff
push 0
lea esi, [edi + 0x9c]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00408c40
push 0
push 1
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], 0
call fcn.00408daf
cmp dword [esi + 0x18], 0x10
jb 0x419d2d
mov esi, dword [esi + 4]
jmp 0x419d30
add esi, 4
push esi
push str.module_file_version:__s
mov esi, ebx
call fcn.0040892e
pop ecx
pop ecx
push str.Connecting_to_Hexagon...
lea ecx, [ebp + 0x40]
call fcn.00407a73
push edi
lea ebx, [ebp + 0x40]
mov byte [ebp - 4], 2
call fcn.00417732
push 0
push 1
mov ecx, ebx
call fcn.00408daf
sub esp, 0x1c
mov byte [ebp - 4], 3
mov esi, esp
mov dword [ebp], esp
call fcn.00407a60
lea eax, [ebp + 0x40]
push eax
mov ecx, edi
call fcn.0041980c
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
lea ecx, [edi + 0xfc]
mov byte [ebp - 4], 4
call fcn.00408c40
push esi
push 1
lea ecx, [ebp + 0x40]
call fcn.00408daf
mov dword [ebp - 4], esi
jmp 0x419e3b
push 0xf
pop ebx
push 0
lea ecx, [ebp + 8]
mov dword [ebp + 0x20], ebx
call fcn.00409aec
lea eax, [ebp - 0x144]
push eax
mov byte [ebp - 4], 9
call fcn.00413960
sub esp, 0x20
mov esi, esp
mov dword [ebp], esp
push dword [ebp - 0x30]
mov eax, fcn.004132ce
push eax
call fcn.0040ad57
push 1
push 0
push 0
lea ecx, [ebp + 0x40]
mov dword [ebp + 0x58], ebx
call fcn.00409aec
lea eax, [ebp + 0x40]
push eax
lea eax, [edi + 0xfc]
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x18], 0x10
jb 0x419e9b
mov ebx, dword [eax + 4]
jmp 0x419e9e
lea ebx, [eax + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xb8]
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x38], esp
push eax
push ebx
push str.__s__S
call fcn.0042b5ba
add esp, 0xc
sub esp, 0x1c
mov byte [ebp - 4], 0xd
lea ebx, [edi + 0xe0]
mov ecx, esp
mov dword [ebp - 0x30], esp
push ebx
call fcn.00407a95
lea ecx, [ebp - 0x144]
mov edx, edi
mov byte [ebp - 4], 0xe
call fcn.0042ef9f
add esp, 0x64
xor esi, esi
push esi
push 1
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], 0xa
call fcn.00408daf
lea eax, [ebp - 0x144]
push esi
push eax
call fcn.00422d50
pop ecx
pop ecx
lea eax, [ebp - 0x140]
call fcn.004134ca
push eax
lea ecx, [ebp + 8]
call fcn.00408cd2
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 9
call fcn.00413a11
lea eax, [edi + 0x9c]
mov dword [ebp - 4], 8
lea ecx, [ebp + 8]
mov dword [ebp], eax
call fcn.00407adb
test eax, eax
je 0x41a473
cmp byte [edi + 0x55], 0
je 0x419f6c
lea esi, [ebp - 0x8c]
call fcn.004274a1
push 0x47ff4c
mov eax, esi
push eax
call fcn.0044ab13
xor eax, eax
mov dword [ebp + 0x3c], 7
mov dword [ebp + 0x38], esi
mov word [ebp + 0x28], ax
mov byte [ebp - 4], 0x11
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x12
call fcn.0041b123
mov ecx, ebx
mov byte [ebp - 4], 0x13
call fcn.00407adb
push esi
cmp eax, esi
push 1
lea ecx, [ebp - 0x2c]
sete bl
mov byte [ebp - 4], 0x12
call fcn.00408daf
test bl, bl
je 0x41a073
mov edi, dword [ebp + 4]
lea ecx, [ebp - 0x2c]
mov edx, edi
call fcn.004132d5
push 0xffffffffffffffff
lea ecx, [ebp + 0x24]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 0x14
call fcn.00408e9f
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.00409047
cmp dword [ebp + 0x38], ebx
je 0x41a073
cmp dword [ebp + 0x3c], 8
mov eax, dword [ebp + 0x28]
jae 0x419ff8
lea eax, [ebp + 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41a073
lea eax, [ebp - 0x24]
call fcn.00427758
lea eax, [ebp + 0x24]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x15
call fcn.0042781f
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00427bf9
push 0xffffffffffffffff
mov byte [ebp - 4], 0x16
mov esi, dword [ebp]
push 0
push eax
mov ecx, esi
call fcn.00408c40
push 0
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x15
call fcn.00408daf
cmp dword [esi + 0x18], 0x10
jb 0x41a055
mov esi, dword [esi + 4]
jmp 0x41a058
add esi, 4
push esi
push str.installed_bootstrapper_file_version:__s
lea esi, [edi + 0x1ac]
call fcn.0040892e
pop ecx
pop ecx
lea esi, [ebp - 0x24]
call fcn.0042777a
mov dword [ebp - 4], 0x11
mov eax, dword [ebp + 4]
add eax, 0x9c
lea ecx, [ebp + 8]
call fcn.00407adb
test eax, eax
je 0x41a26f
mov edi, dword [ebp + 4]
lea esi, [edi + 0x160]
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp byte [edi + 0x56], 0
je 0x41a0f9
cmp byte [edi + 0x57], 0
je 0x41a0f9
mov ecx, dword [esi]
mov eax, dword [ecx]
push 4
push str.DEBUG
push str.Download_latest_bootstrapper_
call dword [eax + 4]
cmp eax, 7
jne 0x41a0f9
push 0
push 1
lea esi, [ebp + 0x24]
call fcn.00409047
mov bl, 1
jmp 0x41a49e
push str.Getting_the_latest_Hexagon...
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x18
call fcn.00407a73
push edi
lea ebx, [ebp - 0x2c]
mov byte [ebp - 4], 0x19
call fcn.00417732
push 0
push 1
mov ecx, ebx
mov byte [ebp - 4], 0x18
call fcn.00408daf
push 0x46e660
lea ebx, [ebp - 0x54]
call fcn.0040885e
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp + 0x24]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 0x1a
call fcn.00408e9f
push ebx
push 1
lea esi, [ebp - 0x54]
mov byte [ebp - 4], 0x18
call fcn.00409047
cmp dword [ebp + 0x3c], 8
mov eax, dword [ebp + 0x28]
jae 0x41a160
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x20
pop ecx
call fcn.00407eff
sub esp, 0x20
mov esi, esp
mov dword [ebp - 0x30], esp
push dword [ebp - 0x30]
mov eax, fcn.004132ce
push eax
call fcn.0040ad57
push 0
push 0
lea ecx, [ebp - 0x2c]
lea ebx, [ebp - 0x140]
mov dword [ebp - 0x14], 0xf
call fcn.00409aec
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x1d
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xdc]
mov byte [ebp - 4], 0x1e
cmp dword [eax + 0x18], 8
jb 0x41a1c4
mov ecx, dword [eax + 4]
jmp 0x41a1c7
lea ecx, [eax + 4]
lea eax, [edi + 0xfc]
cmp dword [eax + 0x18], 0x10
jb 0x41a1d8
mov eax, dword [eax + 4]
jmp 0x41a1db
add eax, 4
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x38], esp
push ecx
push eax
push str.__s__S
call fcn.0042b5ba
add esp, 0xc
sub esp, 0x1c
mov byte [ebp - 4], 0x1f
lea eax, [edi + 0xe0]
mov ecx, esp
mov dword [ebp], esp
push eax
call fcn.00407a95
mov edx, ebx
mov ecx, edi
mov byte [ebp - 4], 0x21
call fcn.004310fb
add esp, 0x60
push 0
push 1
lea esi, [ebp - 0x54]
call fcn.00409047
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00408daf
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 0x18
call fcn.00406179
mov dword [ebp - 4], 0x11
push str.Please_Wait...
lea ecx, [ebp - 0x2c]
call fcn.00407a73
push dword [ebp + 4]
lea ebx, [ebp - 0x2c]
mov byte [ebp - 4], 0x29
call fcn.00417732
push 0
push 1
mov ecx, ebx
call fcn.00408daf
and dword [ebp + 0x54], 0
xor eax, eax
mov dword [ebp + 0x58], 7
mov word [ebp + 0x44], ax
xor edi, edi
inc edi
mov byte [ebp - 4], 0x2a
cmp dword [0x496d3c], edi
jle 0x41a329
mov ebx, 0x471884
cmp dword [ebp + 0x54], 0
je 0x41a2ac
push 0x471888
lea eax, [ebp + 0x40]
push eax
call fcn.0040b2bd
push ebx
lea eax, [ebp - 0xa8]
call fcn.00407b1d
mov byte [ebp - 4], 0x2b
mov ecx, dword [0x496d44]
push dword [ecx + edi*4]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040ada0
push ebx
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x2c
call fcn.0040ada0
add esp, 0x18
push 0xffffffffffffffff
push 0
lea esi, [ebp + 0x40]
mov byte [ebp - 4], 0x2d
call fcn.00408dfa
push 0
push 1
lea esi, [ebp - 0x54]
call fcn.00409047
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.00409047
push 0
push 1
lea esi, [ebp - 0xa8]
mov byte [ebp - 4], 0x2a
call fcn.00409047
inc edi
cmp edi, dword [0x496d3c]
jl 0x41a298
and dword [ebp - 0x7c], 0
and dword [ebp - 0x80], 0
mov byte [ebp - 4], 0x2e
cmp dword [ebp + 0x58], 8
mov ecx, dword [ebp + 0x44]
jae 0x41a341
lea ecx, [ebp + 0x44]
cmp dword [ebp + 0x3c], 8
mov edi, dword [ebp + 0x28]
jae 0x41a34d
lea edi, [ebp + 0x28]
push dword [ebp + 4]
lea edx, [ebp - 0x80]
call fcn.00413b26
mov eax, dword [ebp + 4]
push 1
lea esi, [ebp - 0xb8]
mov byte [eax + 0x60], 1
call fcn.00427616
push 0x47ff10
mov eax, esi
jmp 0x419f66
push esi
push 1
lea ecx, [ebp + 8]
call fcn.00408daf
lea esi, [ebp - 0x68]
call fcn.0042777a
mov al, 1
jmp 0x41a519
push 0
push 1
lea ecx, [ebp + 8]
call fcn.00408daf
lea esi, [ebp - 0x68]
call fcn.0042777a
mov al, bl
jmp 0x41a519
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x5c]
xor ecx, ebp
call fcn.004465ad
add ebp, 0x60
leave
ret