Function at 0x41ac71
Capabilities:
Check if file exists

Disassembly:
push 0x1a4
mov eax, 0x44633f
call fcn.00442b9c
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 [0x474718]
lea ecx, [ebp - 0xd0]
call fcn.00412c58
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xd0]
call fcn.004130b0
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 0x41ad00
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_Catium...
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.004186ea
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.0041a7c3
push eax
lea ecx, [edi + 0xd4]
call fcn.0040224d
lea ecx, [ebp - 0x44]
call fcn.00402286
mov dword [ebp - 4], ebx
jmp 0x41ae16
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.004147ce
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xb0], esp
push dword [ebp - 0xb4]
push fcn.00401000
push ecx
call fcn.0040d538
lea esi, [edi + 0xd4]
mov byte [ebp - 4], 8
cmp dword [esi + 0x14], 0x10
jb 0x41ae61
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.0040fe1f
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.0042a6ea
add esp, 0x5c
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.00402286
xor dl, dl
lea ecx, [ebp - 0x1b0]
call fcn.00412ad1
lea ecx, [ebp - 0x1ac]
call fcn.00414320
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.0041483a
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 0x41b4ff
cmp byte [edi + 0x49], 0
je 0x41af82
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 0x45f958
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.0041c23a
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 0x41b085
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00414125
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040be4c
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040253d
cmp dword [ebp - 0x4c], ebx
je 0x41b087
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 0x41b087
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.00412cf1
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x28]
call fcn.004130b0
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 0x41b066
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.00412c2e
jmp 0x41b087
xor ebx, ebx
mov dword [ebp - 4], 0xe
jmp 0x41b0d1
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 0x41b3a7
mov ecx, dword [edi + 0x11c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp byte [edi + 0x4a], 0
je 0x41b139
cmp byte [edi + 0x4b], 0
je 0x41b139
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 0x41b139
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.0040253d
jmp 0x41b52f
push str.Getting_the_latest_Catium...
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.004186ea
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x12
call fcn.00402286
mov edx, 0x44ed00
lea ecx, [ebp - 0x8c]
call fcn.0040c7f7
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040be4c
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.0040be7f
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xb4], esp
push dword [ebp - 0xb4]
push fcn.00401000
push ecx
call fcn.0040d538
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 0x41b1e8
mov edx, dword [edx]
lea ecx, [edi + 0xd4]
cmp dword [ecx + 0x14], 0x10
jb 0x41b1f6
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.0040fe1f
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.0042c74a
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.0040bf15
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 0x41b37c
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.004186ea
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 0x41b4a5
xor esi, esi
inc esi
test edx, edx
je 0x41b3f2
mov ecx, 0x4544f0
call fcn.00405e95
push eax
push 0x4544f0
lea ecx, [ebp - 0x44]
call fcn.0040da91
xor eax, eax
push 0x4544ec
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.0040cbb9
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.0040d5ac
mov byte [ebp - 4], 0x24
mov edx, eax
lea ecx, [ebp - 0x8c]
mov dword [esp], 0x4544ec
call fcn.0040d5ac
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x25
call fcn.0040cb16
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 0x41b4a0
mov edx, dword [ebp - 0x34]
jmp 0x41b3d6
mov eax, dword [ebp - 0x30]
jmp 0x41b4a8
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.004149b5
xor eax, eax
inc eax
push eax
lea ecx, [ebp - 0x104]
mov byte [edi + 0x54], al
call fcn.004255e8
push 0x45f994
lea eax, [ebp - 0x104]
jmp 0x41af7c
lea ecx, [ebp - 0x74]
call fcn.00402286
lea ecx, [ebp - 0xd0]
call fcn.00412c2e
mov al, 1
jmp 0x41b5a7
lea ecx, [ebp - 0x74]
call fcn.00402286
lea ecx, [ebp - 0xd0]
call fcn.00412c2e
mov al, byte [ebp - 0xa8]
jmp 0x41b5a7
call fcn.00442aee
ret