Function at 0x417a24
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x5c
lea ebp, [esp - 4]
mov eax, dword [0x4861f4]
xor eax, ebp
mov dword [ebp + 0x5c], eax
push 0x138
mov eax, 0x462ee7
call fcn.00446816
mov edi, ecx
lea ebx, [edi + 0x188]
push str.checkBootstrapperVersion__
mov esi, ebx
mov dword [ebp + 4], edi
call fcn.00408d03
pop ecx
lea eax, [ebp - 0x68]
call fcn.004236e7
and dword [ebp - 4], 0
push dword [0x48f728]
mov ecx, eax
call fcn.00423736
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00423b88
push 0xffffffffffffffff
push 0
lea esi, [edi + 0x9c]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0040900e
push 0
push 1
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], 0
call fcn.0040917d
cmp dword [esi + 0x18], 0x10
jb 0x417ab4
mov esi, dword [esi + 4]
jmp 0x417ab7
add esi, 4
push esi
push str.module_file_version:__s
mov esi, ebx
call fcn.00408d03
pop ecx
pop ecx
push str.Connecting_to_Rowine...
lea ecx, [ebp + 0x40]
call fcn.00407e54
push edi
lea ebx, [ebp + 0x40]
mov byte [ebp - 4], 2
call fcn.00415e77
push 0
push 1
mov ecx, ebx
call fcn.0040917d
sub esp, 0x1c
mov byte [ebp - 4], 3
mov esi, esp
mov dword [ebp], esp
call fcn.00407e41
lea eax, [ebp + 0x40]
push eax
mov ecx, edi
call fcn.00417599
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
lea ecx, [edi + 0xfc]
mov byte [ebp - 4], 4
call fcn.0040900e
push esi
push 1
lea ecx, [ebp + 0x40]
call fcn.0040917d
mov dword [ebp - 4], esi
jmp 0x417bc2
push 0xf
pop ebx
push 0
lea ecx, [ebp + 8]
mov dword [ebp + 0x20], ebx
call fcn.00409ee5
lea eax, [ebp - 0x144]
push eax
mov byte [ebp - 4], 9
call fcn.00412de2
sub esp, 0x20
mov esi, esp
mov dword [ebp], esp
push dword [ebp - 0x30]
mov eax, fcn.00429d9a
push eax
call fcn.0040b150
push 1
push 0
push 0
lea ecx, [ebp + 0x40]
mov dword [ebp + 0x58], ebx
call fcn.00409ee5
lea eax, [ebp + 0x40]
push eax
lea eax, [edi + 0xfc]
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x18], 0x10
jb 0x417c22
mov ebx, dword [eax + 4]
jmp 0x417c25
lea ebx, [eax + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x98]
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x38], esp
push eax
push ebx
push str.__s__S
call fcn.004276d3
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.00407e76
lea ecx, [ebp - 0x144]
mov edx, edi
mov byte [ebp - 4], 0xe
call fcn.0042a54e
add esp, 0x64
xor esi, esi
push esi
push 1
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], 0xa
call fcn.0040917d
lea eax, [ebp - 0x144]
push esi
push eax
call fcn.00420236
pop ecx
pop ecx
lea eax, [ebp - 0x140]
call fcn.0041294c
push eax
lea ecx, [ebp + 8]
call fcn.004090a0
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 9
call fcn.00412e93
lea eax, [edi + 0x9c]
mov dword [ebp - 4], 8
lea ecx, [ebp + 8]
mov dword [ebp], eax
call fcn.00407e9c
test eax, eax
je 0x4181fa
cmp byte [edi + 0x55], 0
je 0x417cf3
lea esi, [ebp - 0x8c]
call fcn.00423451
push 0x47a4ec
mov eax, esi
push eax
call fcn.004468ed
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.00418eaa
mov ecx, ebx
mov byte [ebp - 4], 0x13
call fcn.00407e9c
push esi
cmp eax, esi
push 1
lea ecx, [ebp - 0x2c]
sete bl
mov byte [ebp - 4], 0x12
call fcn.0040917d
test bl, bl
je 0x417dfa
mov edi, dword [ebp + 4]
lea ecx, [ebp - 0x2c]
mov edx, edi
call fcn.00412787
push 0xffffffffffffffff
lea ecx, [ebp + 0x24]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 0x14
call fcn.0040926d
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.00409415
cmp dword [ebp + 0x38], ebx
je 0x417dfa
cmp dword [ebp + 0x3c], 8
mov eax, dword [ebp + 0x28]
jae 0x417d7f
lea eax, [ebp + 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417dfa
lea eax, [ebp - 0x24]
call fcn.004236e7
lea eax, [ebp + 0x24]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x15
call fcn.004237ae
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00423b88
push 0xffffffffffffffff
mov byte [ebp - 4], 0x16
mov esi, dword [ebp]
push 0
push eax
mov ecx, esi
call fcn.0040900e
push 0
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x15
call fcn.0040917d
cmp dword [esi + 0x18], 0x10
jb 0x417ddc
mov esi, dword [esi + 4]
jmp 0x417ddf
add esi, 4
push esi
push str.installed_bootstrapper_file_version:__s
lea esi, [edi + 0x188]
call fcn.00408d03
pop ecx
pop ecx
lea esi, [ebp - 0x24]
call fcn.00423709
mov dword [ebp - 4], 0x11
mov eax, dword [ebp + 4]
add eax, 0x9c
lea ecx, [ebp + 8]
call fcn.00407e9c
test eax, eax
je 0x417ff6
mov edi, dword [ebp + 4]
lea esi, [edi + 0x15c]
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp byte [edi + 0x56], 0
je 0x417e80
cmp byte [edi + 0x57], 0
je 0x417e80
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 0x417e80
push 0
push 1
lea esi, [ebp + 0x24]
call fcn.00409415
mov bl, 1
jmp 0x418225
push str.Getting_the_latest_Rowine...
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x18
call fcn.00407e54
push edi
lea ebx, [ebp - 0x2c]
mov byte [ebp - 4], 0x19
call fcn.00415e77
push 0
push 1
mov ecx, ebx
mov byte [ebp - 4], 0x18
call fcn.0040917d
push 0x4690c0
lea ebx, [ebp - 0x54]
call fcn.00408c33
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp + 0x24]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 0x1a
call fcn.0040926d
push ebx
push 1
lea esi, [ebp - 0x54]
mov byte [ebp - 4], 0x18
call fcn.00409415
cmp dword [ebp + 0x3c], 8
mov eax, dword [ebp + 0x28]
jae 0x417ee7
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x20
pop ecx
call fcn.004082d4
sub esp, 0x20
mov esi, esp
mov dword [ebp - 0x30], esp
push dword [ebp - 0x30]
mov eax, fcn.00429d9a
push eax
call fcn.0040b150
push 0
push 0
lea ecx, [ebp - 0x2c]
lea ebx, [ebp - 0x140]
mov dword [ebp - 0x14], 0xf
call fcn.00409ee5
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 + 0xbc]
mov byte [ebp - 4], 0x1e
cmp dword [eax + 0x18], 8
jb 0x417f4b
mov ecx, dword [eax + 4]
jmp 0x417f4e
lea ecx, [eax + 4]
lea eax, [edi + 0xfc]
cmp dword [eax + 0x18], 0x10
jb 0x417f5f
mov eax, dword [eax + 4]
jmp 0x417f62
add eax, 4
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x38], esp
push ecx
push eax
push str.__s__S
call fcn.004276d3
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.00407e76
mov edx, ebx
mov ecx, edi
mov byte [ebp - 4], 0x21
call fcn.0042c6a8
add esp, 0x60
push 0
push 1
lea esi, [ebp - 0x54]
call fcn.00409415
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040917d
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 0x18
call fcn.00405e5c
mov dword [ebp - 4], 0x11
push str.Please_Wait...
lea ecx, [ebp - 0x2c]
call fcn.00407e54
push dword [ebp + 4]
lea ebx, [ebp - 0x2c]
mov byte [ebp - 4], 0x29
call fcn.00415e77
push 0
push 1
mov ecx, ebx
call fcn.0040917d
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 [0x48f9c8], edi
jle 0x4180b0
mov ebx, 0x46c578
cmp dword [ebp + 0x54], 0
je 0x418033
push 0x46c57c
lea eax, [ebp + 0x40]
push eax
call fcn.0040b6b6
push ebx
lea eax, [ebp - 0xa8]
call fcn.00407ede
mov byte [ebp - 4], 0x2b
mov ecx, dword [0x48f9d0]
push dword [ecx + edi*4]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040b199
push ebx
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x2c
call fcn.0040b199
add esp, 0x18
push 0xffffffffffffffff
push 0
lea esi, [ebp + 0x40]
mov byte [ebp - 4], 0x2d
call fcn.004091c8
push 0
push 1
lea esi, [ebp - 0x54]
call fcn.00409415
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.00409415
push 0
push 1
lea esi, [ebp - 0xa8]
mov byte [ebp - 4], 0x2a
call fcn.00409415
inc edi
cmp edi, dword [0x48f9c8]
jl 0x41801f
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 0x4180c8
lea ecx, [ebp + 0x44]
cmp dword [ebp + 0x3c], 8
mov edi, dword [ebp + 0x28]
jae 0x4180d4
lea edi, [ebp + 0x28]
push dword [ebp + 4]
lea edx, [ebp - 0x80]
call fcn.00412fad
mov eax, dword [ebp + 4]
push 1
lea esi, [ebp - 0xb8]
mov byte [eax + 0x60], 1
call fcn.004235aa
push 0x47a4b0
mov eax, esi
jmp 0x417ced
push esi
push 1
lea ecx, [ebp + 8]
call fcn.0040917d
lea esi, [ebp - 0x68]
call fcn.00423709
mov al, 1
jmp 0x4182a0
push 0
push 1
lea ecx, [ebp + 8]
call fcn.0040917d
lea esi, [ebp - 0x68]
call fcn.00423709
mov al, bl
jmp 0x4182a0
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.004428bd
add ebp, 0x60
leave
ret