Function at 0x481750
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9562
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5a4
push ebx
xor ebx, ebx
lea ecx, [ebp - 0x150]
push esi
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp + 0x10]
mov edx, esi
push edi
call fcn.0049e850
push ecx
lea ecx, [ebp - 0x218]
call fcn.00482530
mov edi, dword [ebp + 8]
cmp byte [ebp - 0x150], bl
je 0x481876
lea eax, [ebp - 0x28]
mov dword [ebp + 0x10], edi
push eax
lea ecx, [ebp + 0x10]
call fcn.00482250
cmp dword [eax + 0x14], 8
jb 0x4817b8
mov eax, dword [eax]
sub esp, 8
lea ecx, [ebp - 0x214]
push eax
call fcn.00483490
test eax, eax
lea ecx, [ebp - 0x218]
mov eax, dword [ebp - 0x218]
push 0
mov eax, dword [eax + 4]
jne 0x4817ef
mov edx, dword [ecx + eax + 0xc]
add ecx, eax
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], ebx
jmp 0x4817fb
add ecx, eax
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
push eax
call fcn.0049d0b0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x481819
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0049f0e0
mov eax, dword [0x570398]
push 0
push 0
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x214]
add ecx, 0x570398
mov dword [ecx + 0x38], eax
call fcn.0049d0b0
mov eax, dword [0x570448]
push 0
push 0
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x214]
add ecx, 0x570448
mov dword [ecx + 0x38], eax
call fcn.0049d0b0
mov eax, dword [0x5704f8]
push 0
push 0
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x214]
add ecx, 0x5704f8
mov dword [ecx + 0x38], eax
jmp 0x4818bf
mov eax, dword [0x570398]
push 0
push 4
mov ecx, dword [eax + 4]
add ecx, 0x570398
mov dword [ecx + 0x38], ebx
call fcn.0049d0b0
mov eax, dword [0x570448]
push 0
push 4
mov ecx, dword [eax + 4]
add ecx, 0x570448
mov dword [ecx + 0x38], ebx
call fcn.0049d0b0
mov eax, dword [0x5704f8]
push 0
push 4
mov ecx, dword [eax + 4]
add ecx, 0x5704f8
mov dword [ecx + 0x38], ebx
call fcn.0049d0b0
push ecx
mov eax, esp
mov dword [ebp + 0x10], edi
mov ecx, 8
mov word [eax], cx
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
cmp word [esi], ax
jne 0x4818eb
xor ecx, ecx
jmp 0x4818ff
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4818f0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.0049f240
sub esp, 8
lea ecx, [ebp - 0x2e8]
mov esi, 8
mov word [ebp - 0x2f0], si
call fcn.00499740
lea eax, [ebp - 0x250]
push 0x102
push eax
call fcn.004a1718
add esp, 8
mov dword [ebp - 0x220], 1
lea eax, [ebp - 0x40]
lea ecx, [ebp + 0x10]
push eax
push str._n___Args:
lea eax, [ebp - 0x28]
push eax
call fcn.004823a0
push eax
push str._n___Executing_Directory:
lea eax, [ebp - 0x58]
push eax
call fcn.00482310
push eax
push str._is_starting_up_n___Current_Working_Directory:
push ecx
lea ecx, [ebp - 0x70]
call fcn.00498e40
add esp, 4
lea ecx, [ebp - 0x118]
push eax
call fcn.00483600
add esp, 4
lea ecx, [ebp - 0x100]
mov edx, eax
call fcn.0049e730
add esp, 4
lea ecx, [ebp - 0xe8]
mov edx, eax
call fcn.00483590
add esp, 4
lea ecx, [ebp - 0xd0]
mov edx, eax
call fcn.0049e730
add esp, 4
lea ecx, [ebp - 0xb8]
mov edx, eax
call fcn.00483590
add esp, 4
lea ecx, [ebp - 0xa0]
mov edx, eax
call fcn.0049e730
add esp, 4
lea ecx, [ebp - 0x88]
mov edx, eax
call fcn.00483590
add esp, 4
lea ecx, [ebp - 0x2f0]
push eax
call fcn.0049d240
lea eax, [ebp - 0x250]
push eax
call fcn.004a16ef
add esp, 4
lea ecx, [ebp - 0x298]
call fcn.0049a320
lea eax, [ebp - 0x298]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004a1175
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov eax, dword [ebp - 0x74]
cmp eax, esi
jb 0x481a4d
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.0049f0e0
xor eax, eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x78], 0
cmp eax, 8
jb 0x481a82
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.0049f0e0
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x90], 0
cmp eax, 8
jb 0x481abd
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.0049f0e0
xor eax, eax
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xa8], 0
cmp eax, 8
jb 0x481af8
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.0049f0e0
xor eax, eax
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xc0], 0
cmp eax, 8
jb 0x481b33
inc eax
lea ecx, [ebp - 0xe8]
push eax
push dword [ebp - 0xe8]
call fcn.0049f0e0
xor eax, eax
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xd8], 0
cmp eax, 8
jb 0x481b6e
inc eax
lea ecx, [ebp - 0x100]
push eax
push dword [ebp - 0x100]
call fcn.0049f0e0
xor eax, eax
mov dword [ebp - 0xec], 7
mov word [ebp - 0x100], ax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xf0], 0
cmp eax, 8
jb 0x481ba9
inc eax
lea ecx, [ebp - 0x118]
push eax
push dword [ebp - 0x118]
call fcn.0049f0e0
xor eax, eax
mov dword [ebp - 0x104], 7
mov word [ebp - 0x118], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x108], 0
cmp eax, 8
jb 0x481bdb
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.0049f0e0
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x481c04
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0049f0e0
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x481c2d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0049f0e0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x481c56
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0049f0e0
cmp dword [ebp - 0x138], 0
jbe 0x481c96
push 4
xor eax, eax
mov dword [ebp - 0x2c], 7
push 0x4ee4b4
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.0049f240
lea ecx, [ebp - 0x40]
mov ebx, 1
call fcn.00497000
mov byte [ebp + 0x13], bl
test al, al
je 0x481c9a
mov byte [ebp + 0x13], 0
test bl, 1
je 0x481cb4
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x481cb4
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0049f0e0
cmp byte [ebp + 0x13], 0
je 0x481d8f
lea ecx, [ebp - 0x148]
call fcn.00495cc0
cmp eax, 0xffffffff
je 0x481cde
cmp eax, 7
jne 0x481d8f
xor esi, esi
jmp 0x4821b7
push str.Failed_to_install_the_Microsoft_.net_Framework_v4.7_
lea ecx, [ebp - 0x28]
call fcn.0049f390
push ecx
mov eax, esp
mov ecx, 0xce
sub esp, 8
mov word [eax], cx
lea ecx, [ebp - 0x2e8]
mov word [ebp - 0x2f0], si
call fcn.00499740
lea eax, [ebp - 0x250]
push 0x102
push eax
call fcn.004a1718
add esp, 8
mov dword [ebp - 0x220], 1
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2f0]
push eax
call fcn.0049d240
lea eax, [ebp - 0x250]
push eax
call fcn.004a16ef
add esp, 4
lea ecx, [ebp - 0x298]
call fcn.0049a320
lea eax, [ebp - 0x298]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004a1175
mov eax, dword [ebp - 0x14]
add esp, 4
cmp eax, 8
jb 0x481d87
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0049f0e0
or esi, 0xffffffff
jmp 0x4821b7
cmp dword [ebp - 0x120], 0
jne 0x481daa
push 0x57
push str.Setup__Version0.0.0.0__Cultureneutral__PublicKeyTokennull__ProcessorArchitecturex86
lea ecx, [ebp - 0x130]
call fcn.0049f240
push 0xa
xor eax, eax
mov dword [ebp - 0x2c], 7
push 0x555880
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.0049f240
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x4d8]
call fcn.004931d0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x481df1
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0049f0e0
lea eax, [ebp - 0x28]
mov dword [ebp + 0x10], edi
push eax
lea ecx, [ebp + 0x10]
call fcn.00482450
push eax
lea ecx, [ebp - 0x4d8]
call fcn.00492640
test eax, eax
mov eax, dword [ebp - 0x14]
setne bl
cmp eax, 8
jb 0x481e26
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0049f0e0
test bl, bl
je 0x481ed5
push str.__nMake_sure_it_is_installed_properly.
push 0x555880
push str.This_program_is_based_on_the_Microsoft_.net_Framework
lea ecx, [ebp - 0x70]
call fcn.0049f390
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.0049e730
add esp, 4
lea ecx, [ebp - 0x58]
mov edx, eax
call fcn.0049e730
mov eax, dword [ebp - 0x14]
add esp, 4
cmp eax, 8
jb 0x481e74
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0049f0e0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x481e9d
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.0049f0e0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0x10
cmovae eax, dword [ebp - 0x58]
push str.Startup_Error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x481ecd
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0049f0e0
or esi, 0xffffffff
jmp 0x4821ac
lea ecx, [ebp + 0x10]
call fcn.004923e0
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x10], 0
test esi, esi
je 0x481f06
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push 0x558cb0
push esi
call dword [eax]
mov ecx, dword [ebp - 0x10]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov dword [ebp - 0x10], ecx
push 0xe8
call fcn.0049f58a
mov ecx, eax
call fcn.004919f0
mov ecx, dword [ebp - 0x10]
push eax
mov edx, dword [ecx]
call dword [edx + 0x14]
push 0xe8
call fcn.0049f58a
mov ecx, eax
call fcn.0048ca00
mov ecx, dword [ebp - 0x10]
push eax
mov edx, dword [ecx]
call dword [edx + 0x14]
push 0xe8
call fcn.0049f58a
mov ecx, eax
call fcn.00488960
mov ecx, dword [ebp - 0x10]
push eax
mov edx, dword [ecx]
call dword [edx + 0x14]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x481f63
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea ecx, [ebp + 0x10]
call fcn.004854a0
mov edi, dword [ebp + 0x10]
mov eax, esp
mov dword [eax], edi
test edi, edi
je 0x481f7c
mov eax, dword [edi]
push edi
call dword [eax + 4]
lea ecx, [ebp + 0x10]
call fcn.004851f0
mov ebx, dword [ebp + 0x10]
mov eax, esp
mov dword [eax], ebx
test ebx, ebx
je 0x481f95
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
lea ecx, [ebp - 0x4d8]
call fcn.00484f70
test eax, eax
jne 0x482177
sub esp, 0x18
mov ecx, esp
push 0x4ee6e8
call fcn.0049f390
sub esp, 0x18
mov ecx, esp
push str.Secure.Net.Host.Runtime.AppDomain__Version2.1.0.0__PublicKeyToken1343cabd758ae949__Cultureneutral
call fcn.0049f390
lea ecx, [ebp - 0x4d8]
call fcn.00484d50
test eax, eax
jne 0x482177
lea ecx, [ebp - 0x4d8]
call fcn.00484c10
test eax, eax
jne 0x482177
lea ecx, [ebp - 0x4d8]
call fcn.00484a30
test eax, eax
jne 0x482177
cmp dword [ebp - 0x14c], 2
je 0x482084
push 0x128
call fcn.0049f58a
add esp, 4
mov dword [ebp + 0x10], eax
lea ecx, [ebp - 0x58]
push str.Setup.pdb
call fcn.0049f390
push str.Setup__Version0.0.0.0__Cultureneutral__PublicKeyTokennull__ProcessorArchitecturex86
lea ecx, [ebp - 0x28]
call fcn.0049f390
push ecx
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x58]
push eax
sub esp, 8
lea eax, [ebp - 0x28]
push eax
call fcn.00484880
mov ecx, dword [ebp - 0x10]
push eax
mov edx, dword [ecx]
call dword [edx + 0x14]
lea ecx, [ebp - 0x28]
call fcn.0049e810
lea ecx, [ebp - 0x58]
call fcn.0049e810
cmp dword [ebp - 0x14c], 0
lea ecx, [ebp - 0x4d8]
sete al
movzx eax, al
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.004843b0
jmp 0x482120
cmp dword [ebp - 0x11c], 8
lea eax, [ebp - 0x130]
cmovae eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48210e
push 0x128
call fcn.0049f58a
add esp, 4
mov dword [ebp + 0x10], eax
lea ecx, [ebp - 0x58]
push str.Setup.pdb
call fcn.0049f390
push str.Setup__Version0.0.0.0__Cultureneutral__PublicKeyTokennull__ProcessorArchitecturex86
lea ecx, [ebp - 0x28]
call fcn.0049f390
push ecx
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x58]
push eax
sub esp, 8
lea eax, [ebp - 0x28]
push eax
call fcn.00484880
mov ecx, dword [ebp - 0x10]
push eax
mov edx, dword [ecx]
call dword [edx + 0x14]
lea ecx, [ebp - 0x28]
call fcn.0049e810
lea ecx, [ebp - 0x58]
call fcn.0049e810
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x4d8]
call fcn.004840e0
jmp 0x482120
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x4d8]
call fcn.00483f00
test eax, eax
jne 0x482177
push str.Secure.Net.Host.Runtime.Windows_is_finalizing...
lea ecx, [ebp - 0x168]
call fcn.0049f390
push ecx
mov eax, esp
mov ecx, 8
mov word [eax], cx
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x5b0]
call fcn.00498fb0
mov ecx, eax
call fcn.0049d240
lea ecx, [ebp - 0x5b0]
call fcn.00498f50
lea ecx, [ebp - 0x168]
call fcn.0049e810
mov dword [ebp + 0x10], 0
jmp 0x48217e
mov dword [ebp + 0x10], 0xffffffff
test ebx, ebx
je 0x482188
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
test edi, edi
je 0x482192
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x48219f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
je 0x4821a9
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x4d8]
call fcn.00492990
mov eax, dword [ebp - 0x218]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x21c], eax
lea ecx, [ebp - 0x214]
call fcn.00482e30
mov eax, dword [ebp - 0x218]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x21c], eax
lea eax, [ebp - 0x1b0]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004a1175
add esp, 4
lea ecx, [ebp - 0x150]
call fcn.0048cc70
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10