Function at 0x481d70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9c02
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.0049eef0
push ecx
lea ecx, [ebp - 0x218]
call fcn.00482b50
mov edi, dword [ebp + 8]
cmp byte [ebp - 0x150], bl
je 0x481e96
lea eax, [ebp - 0x28]
mov dword [ebp + 0x10], edi
push eax
lea ecx, [ebp + 0x10]
call fcn.00482870
cmp dword [eax + 0x14], 8
jb 0x481dd8
mov eax, dword [eax]
sub esp, 8
lea ecx, [ebp - 0x214]
push eax
call fcn.00483ab0
test eax, eax
lea ecx, [ebp - 0x218]
mov eax, dword [ebp - 0x218]
push 0
mov eax, dword [eax + 4]
jne 0x481e0f
mov edx, dword [ecx + eax + 0xc]
add ecx, eax
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], ebx
jmp 0x481e1b
add ecx, eax
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
push eax
call fcn.0049d750
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x481e39
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0049f780
mov eax, dword [0x514398]
push 0
push 0
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x214]
add ecx, 0x514398
mov dword [ecx + 0x38], eax
call fcn.0049d750
mov eax, dword [0x514448]
push 0
push 0
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x214]
add ecx, 0x514448
mov dword [ecx + 0x38], eax
call fcn.0049d750
mov eax, dword [0x5144f8]
push 0
push 0
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x214]
add ecx, 0x5144f8
mov dword [ecx + 0x38], eax
jmp 0x481edf
mov eax, dword [0x514398]
push 0
push 4
mov ecx, dword [eax + 4]
add ecx, 0x514398
mov dword [ecx + 0x38], ebx
call fcn.0049d750
mov eax, dword [0x514448]
push 0
push 4
mov ecx, dword [eax + 4]
add ecx, 0x514448
mov dword [ecx + 0x38], ebx
call fcn.0049d750
mov eax, dword [0x5144f8]
push 0
push 4
mov ecx, dword [eax + 4]
add ecx, 0x5144f8
mov dword [ecx + 0x38], ebx
call fcn.0049d750
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 0x481f0b
xor ecx, ecx
jmp 0x481f1f
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x481f10
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.0049f900
sub esp, 8
lea ecx, [ebp - 0x2e8]
mov esi, 8
mov word [ebp - 0x2f0], si
call fcn.00499de0
lea eax, [ebp - 0x250]
push 0x102
push eax
call fcn.004a1dd5
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.004829c0
push eax
push str._n___Executing_Directory:
lea eax, [ebp - 0x58]
push eax
call fcn.00482930
push eax
push str._is_starting_up_n___Current_Working_Directory:
push ecx
lea ecx, [ebp - 0x70]
call fcn.004994e0
add esp, 4
lea ecx, [ebp - 0x118]
push eax
call fcn.00483c20
add esp, 4
lea ecx, [ebp - 0x100]
mov edx, eax
call fcn.0049edd0
add esp, 4
lea ecx, [ebp - 0xe8]
mov edx, eax
call fcn.00483bb0
add esp, 4
lea ecx, [ebp - 0xd0]
mov edx, eax
call fcn.0049edd0
add esp, 4
lea ecx, [ebp - 0xb8]
mov edx, eax
call fcn.00483bb0
add esp, 4
lea ecx, [ebp - 0xa0]
mov edx, eax
call fcn.0049edd0
add esp, 4
lea ecx, [ebp - 0x88]
mov edx, eax
call fcn.00483bb0
add esp, 4
lea ecx, [ebp - 0x2f0]
push eax
call fcn.0049d8e0
lea eax, [ebp - 0x250]
push eax
call fcn.004a1dac
add esp, 4
lea ecx, [ebp - 0x298]
call fcn.0049a9c0
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.004a1832
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov eax, dword [ebp - 0x74]
cmp eax, esi
jb 0x48206d
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.0049f780
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 0x4820a2
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.0049f780
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 0x4820dd
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.0049f780
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 0x482118
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.0049f780
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 0x482153
inc eax
lea ecx, [ebp - 0xe8]
push eax
push dword [ebp - 0xe8]
call fcn.0049f780
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 0x48218e
inc eax
lea ecx, [ebp - 0x100]
push eax
push dword [ebp - 0x100]
call fcn.0049f780
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 0x4821c9
inc eax
lea ecx, [ebp - 0x118]
push eax
push dword [ebp - 0x118]
call fcn.0049f780
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 0x4821fb
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.0049f780
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 0x482224
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0049f780
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 0x48224d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0049f780
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 0x482276
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0049f780
cmp dword [ebp - 0x138], 0
jbe 0x4822b6
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.0049f900
lea ecx, [ebp - 0x40]
mov ebx, 1
call fcn.004976a0
mov byte [ebp + 0x13], bl
test al, al
je 0x4822ba
mov byte [ebp + 0x13], 0
test bl, 1
je 0x4822d4
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4822d4
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0049f780
cmp byte [ebp + 0x13], 0
je 0x4823af
lea ecx, [ebp - 0x148]
call fcn.00496370
cmp eax, 0xffffffff
je 0x4822fe
cmp eax, 7
jne 0x4823af
xor esi, esi
jmp 0x4827d7
push str.Failed_to_install_the_Microsoft_.net_Framework_v4.7_
lea ecx, [ebp - 0x28]
call fcn.0049fa50
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.00499de0
lea eax, [ebp - 0x250]
push 0x102
push eax
call fcn.004a1dd5
add esp, 8
mov dword [ebp - 0x220], 1
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2f0]
push eax
call fcn.0049d8e0
lea eax, [ebp - 0x250]
push eax
call fcn.004a1dac
add esp, 4
lea ecx, [ebp - 0x298]
call fcn.0049a9c0
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.004a1832
mov eax, dword [ebp - 0x14]
add esp, 4
cmp eax, 8
jb 0x4823a7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0049f780
or esi, 0xffffffff
jmp 0x4827d7
cmp dword [ebp - 0x120], 0
jne 0x4823ca
push 0x62
push str.PCSClientService__Version0.0.0.0__Cultureneutral__PublicKeyTokennull__ProcessorArchitecturex86
lea ecx, [ebp - 0x130]
call fcn.0049f900
push 0xa
xor eax, eax
mov dword [ebp - 0x2c], 7
push 0x4f9608
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.0049f900
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x4d8]
call fcn.00493880
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x482411
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0049f780
lea eax, [ebp - 0x28]
mov dword [ebp + 0x10], edi
push eax
lea ecx, [ebp + 0x10]
call fcn.00482a70
push eax
lea ecx, [ebp - 0x4d8]
call fcn.00492cf0
test eax, eax
mov eax, dword [ebp - 0x14]
setne bl
cmp eax, 8
jb 0x482446
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0049f780
test bl, bl
je 0x4824f5
push str.__nMake_sure_it_is_installed_properly.
push 0x4f9608
push str.This_program_is_based_on_the_Microsoft_.net_Framework
lea ecx, [ebp - 0x70]
call fcn.0049fa50
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.0049edd0
add esp, 4
lea ecx, [ebp - 0x58]
mov edx, eax
call fcn.0049edd0
mov eax, dword [ebp - 0x14]
add esp, 4
cmp eax, 8
jb 0x482494
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0049f780
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 0x4824bd
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.0049f780
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 0x4824ed
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0049f780
or esi, 0xffffffff
jmp 0x4827cc
lea ecx, [ebp + 0x10]
call fcn.00492a90
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x10], 0
test esi, esi
je 0x482526
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push 0x4fcfc0
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.0049fc4a
mov ecx, eax
call fcn.004920a0
mov ecx, dword [ebp - 0x10]
push eax
mov edx, dword [ecx]
call dword [edx + 0x14]
push 0xe8
call fcn.0049fc4a
mov ecx, eax
call fcn.0048d0b0
mov ecx, dword [ebp - 0x10]
push eax
mov edx, dword [ecx]
call dword [edx + 0x14]
push 0xe8
call fcn.0049fc4a
mov ecx, eax
call fcn.00488f90
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 0x482583
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea ecx, [ebp + 0x10]
call fcn.00485ac0
mov edi, dword [ebp + 0x10]
mov eax, esp
mov dword [eax], edi
test edi, edi
je 0x48259c
mov eax, dword [edi]
push edi
call dword [eax + 4]
lea ecx, [ebp + 0x10]
call fcn.00485810
mov ebx, dword [ebp + 0x10]
mov eax, esp
mov dword [eax], ebx
test ebx, ebx
je 0x4825b5
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
lea ecx, [ebp - 0x4d8]
call fcn.00485590
test eax, eax
jne 0x482797
sub esp, 0x18
mov ecx, esp
push 0x4ee700
call fcn.0049fa50
sub esp, 0x18
mov ecx, esp
push str.Secure.Net.Host.Runtime.AppDomain__Version2.1.0.0__PublicKeyToken1343cabd758ae949__Cultureneutral
call fcn.0049fa50
lea ecx, [ebp - 0x4d8]
call fcn.00485370
test eax, eax
jne 0x482797
lea ecx, [ebp - 0x4d8]
call fcn.00485230
test eax, eax
jne 0x482797
lea ecx, [ebp - 0x4d8]
call fcn.00485050
test eax, eax
jne 0x482797
cmp dword [ebp - 0x14c], 2
je 0x4826a4
push 0x128
call fcn.0049fc4a
add esp, 4
mov dword [ebp + 0x10], eax
lea ecx, [ebp - 0x58]
push str.PCSClientService.pdb
call fcn.0049fa50
push str.PCSClientService__Version0.0.0.0__Cultureneutral__PublicKeyTokennull__ProcessorArchitecturex86
lea ecx, [ebp - 0x28]
call fcn.0049fa50
push ecx
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x58]
push eax
sub esp, 8
lea eax, [ebp - 0x28]
push eax
call fcn.00484ea0
mov ecx, dword [ebp - 0x10]
push eax
mov edx, dword [ecx]
call dword [edx + 0x14]
lea ecx, [ebp - 0x28]
call fcn.0049eeb0
lea ecx, [ebp - 0x58]
call fcn.0049eeb0
cmp dword [ebp - 0x14c], 0
lea ecx, [ebp - 0x4d8]
sete al
movzx eax, al
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.004849d0
jmp 0x482740
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 0x48272e
push 0x128
call fcn.0049fc4a
add esp, 4
mov dword [ebp + 0x10], eax
lea ecx, [ebp - 0x58]
push str.PCSClientService.pdb
call fcn.0049fa50
push str.PCSClientService__Version0.0.0.0__Cultureneutral__PublicKeyTokennull__ProcessorArchitecturex86
lea ecx, [ebp - 0x28]
call fcn.0049fa50
push ecx
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x58]
push eax
sub esp, 8
lea eax, [ebp - 0x28]
push eax
call fcn.00484ea0
mov ecx, dword [ebp - 0x10]
push eax
mov edx, dword [ecx]
call dword [edx + 0x14]
lea ecx, [ebp - 0x28]
call fcn.0049eeb0
lea ecx, [ebp - 0x58]
call fcn.0049eeb0
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x4d8]
call fcn.00484700
jmp 0x482740
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x4d8]
call fcn.00484520
test eax, eax
jne 0x482797
push str.Secure.Net.Host.Runtime.Windows_is_finalizing...
lea ecx, [ebp - 0x168]
call fcn.0049fa50
push ecx
mov eax, esp
mov ecx, 8
mov word [eax], cx
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x5b0]
call fcn.00499650
mov ecx, eax
call fcn.0049d8e0
lea ecx, [ebp - 0x5b0]
call fcn.004995f0
lea ecx, [ebp - 0x168]
call fcn.0049eeb0
mov dword [ebp + 0x10], 0
jmp 0x48279e
mov dword [ebp + 0x10], 0xffffffff
test ebx, ebx
je 0x4827a8
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
test edi, edi
je 0x4827b2
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4827bf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
je 0x4827c9
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x4d8]
call fcn.00493040
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.00483450
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.004a1832
add esp, 4
lea ecx, [ebp - 0x150]
call fcn.0048d320
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