Function at 0x417960
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa20e
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x636148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00418020
mov ecx, eax
test ecx, ecx
je 0x4179a8
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test al, al
jne 0x417fe2
push 0xb
xor eax, eax
mov dword [ebp - 0xa4], 7
push str.HPPHdis.exe
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
call fcn.00403090
push 0xd
xor eax, eax
mov dword [ebp - 4], 0
push str.HPPCdiuso.exe
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.00403090
cmp dword [ebp - 0xa8], 0
mov byte [ebp - 4], 1
je 0x417f9b
cmp dword [ebp - 0x60], 0
je 0x417f9b
call fcn.00404e60
mov ecx, eax
call fcn.0042fc5a
test al, al
jne 0x417f9b
call fcn.00404e60
mov ecx, eax
call fcn.0042fb78
test al, al
jne 0x417f9b
push 0
call fcn.00452bc3
add esp, 4
mov esi, eax
push 1
push str.5a54d1
push str.AppSetting
call fcn.00404e60
mov ecx, eax
call fcn.0042eba5
test eax, eax
jne 0x417aff
call fcn.00404e60
mov ecx, eax
call fcn.0042fc2b
test al, al
jne 0x417aff
push 0
push str.8ed067
push str.AppSetting
call fcn.00404e60
mov ecx, eax
call fcn.0042eba5
mov edi, eax
cmp edi, 0x64
jg 0x417aff
push 0
push str.8dd391
push str.AppSetting
call fcn.00404e60
mov ecx, eax
call fcn.0042eba5
mov ecx, esi
sub ecx, eax
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x708
jl 0x417ae3
lea eax, [edi + 1]
push eax
push str.8ed067
push str.AppSetting
call fcn.00404e60
mov ecx, eax
call fcn.00430672
push esi
push str.8dd391
push str.AppSetting
call fcn.00404e60
mov ecx, eax
call fcn.00430672
jmp 0x417f9b
cmp byte [ebp + 8], 0
jne 0x417b4a
push 0xffffffffffffffff
push str.e35b4c
push str.AppSetting
call fcn.00404e60
mov ecx, eax
call fcn.0042eba5
mov ecx, esi
sub ecx, eax
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x708
jle 0x417f9b
push esi
push str.e35b4c
push str.AppSetting
call fcn.00404e60
mov ecx, eax
call fcn.00430672
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
push eax
push str.f8507b
push str.AppSetting
mov byte [ebp - 4], 3
mov byte [ebp - 0x119], al
call fcn.00404e60
mov ecx, eax
call fcn.0042eba5
mov ebx, eax
lea ecx, [ebp - 0x88]
test bl, 1
jne 0x417bb5
push str.HPPHdis.exe
mov byte [ebp - 0x119], 1
call fcn.00403040
push str.19afa5
jmp 0x417bc4
push str.HPPCdiuso.exe
call fcn.00403040
push str.dc70cb
lea ecx, [ebp - 0x40]
call fcn.00403040
call fcn.00404e60
mov ecx, eax
call fcn.0042e8ba
push eax
lea ecx, [ebp - 0x118]
call fcn.00402d70
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x118]
call fcn.00406020
lea ecx, [ebx + 1]
xor eax, eax
cmp ecx, 0x3e8
cmovl eax, ecx
push eax
push str.f8507b
push str.AppSetting
call fcn.00404e60
mov ecx, eax
call fcn.00430672
cmp dword [ebp - 0x78], 0
je 0x417f7d
call fcn.00436218
test al, al
je 0x417c47
push eax
pop ebx
pop edx
push edi
push edi
pop esp
pop esp
push esi
push esi
pop edx
push edx
pop ebx
push edx
push esi
push edi
push ebp
pop ebp
call fcn.00436806
test al, al
je 0x417c70
pop eax
pop edx
pop ecx
pop ebx
pop edx
push ebx
pop ebp
pop edi
push esp
pop esp
push esp
push edi
pop edx
push edi
push ebx
pop edx
push edx
push edx
push edx
pop esi
push eax
push ebx
pop edx
push esi
pop esp
push ebp
push edi
pop edx
pop ebx
push edx
pop edx
push ebx
call fcn.004361d3
test al, al
je 0x417c8c
push edi
pop ecx
push edi
push ebp
pop ecx
push edx
pop edx
push esi
pop esi
pop ebp
pop edi
push ebx
push ecx
push esp
pop esp
pop esi
push edx
pop ebp
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x58]
call fcn.00407960
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.0043ed05
add esp, 4
test eax, eax
jne 0x417f75
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x28]
call fcn.00407960
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417d10
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00404e60
mov ecx, eax
call fcn.0041d8f0
test eax, eax
jne 0x417f6d
push str.9632400112216410120011566947256067001432
lea ecx, [ebp - 0xe8]
call fcn.00402f70
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 7
je 0x417d3a
push str.9632400112216410120011566947256067001432
jmp 0x417d3f
push str.765735344166243333623756096121630244535469332626
call fcn.004044c0
cmp dword [ebp - 0xd4], 0x10
lea eax, [ebp - 0xe8]
cmovae eax, dword [ebp - 0xe8]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00437417
add esp, 8
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
push 0x5b00d4
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 9
call fcn.00402f70
cmp dword [ebp - 0xec], 0x10
lea eax, [ebp - 0x100]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xa
cmovae eax, dword [ebp - 0x100]
push eax
call fcn.00402f70
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004404e3
add esp, 0xc
lea ecx, [ebp - 0xa0]
call fcn.00402dd0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 9
call fcn.00402dd0
mov esi, dword [ebp - 0x128]
mov eax, dword [ebp - 0x124]
cmp esi, eax
je 0x417f4c
nop dword [eax]
cmp dword [esi + 0x14], 0x10
jb 0x417e1a
mov eax, dword [esi]
jmp 0x417e1c
mov eax, esi
push eax
lea ecx, [ebp - 0xd0]
call fcn.00402f70
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00440690
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.00407b00
lea ecx, [ebp - 0xa0]
call fcn.00402d30
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.0043ed05
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd0]
call fcn.00402dd0
mov eax, dword [ebp - 0x124]
add esi, 0x18
cmp esi, eax
jne 0x417e10
mov esi, dword [ebp - 0x128]
cmp esi, eax
je 0x417f4c
cmp dword [esi + 0x14], 0x10
jb 0x417e9e
mov eax, dword [esi]
jmp 0x417ea0
mov eax, esi
push eax
lea ecx, [ebp - 0xa0]
call fcn.00402f70
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00440690
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.00407b00
lea ecx, [ebp - 0xd0]
call fcn.00402d30
call fcn.00404e60
mov ecx, eax
call fcn.0042e8ba
push eax
lea ecx, [ebp - 0x28]
call fcn.00403040
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406020
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00404e60
mov ecx, eax
call fcn.0041d8f0
lea ecx, [ebp - 0xa0]
test eax, eax
jne 0x417f47
mov byte [ebp - 4], 9
call fcn.00402dd0
add esi, 0x18
cmp esi, dword [ebp - 0x124]
jne 0x417e94
jmp 0x417f4c
call fcn.00402dd0
lea ecx, [ebp - 0x128]
call fcn.0040afc0
lea ecx, [ebp - 0x100]
call fcn.00402dd0
lea ecx, [ebp - 0xe8]
call fcn.00402dd0
lea ecx, [ebp - 0x28]
call fcn.00402d30
lea ecx, [ebp - 0x58]
call fcn.00402d30
lea ecx, [ebp - 0x118]
call fcn.00402d30
lea ecx, [ebp - 0x40]
call fcn.00402d30
lea ecx, [ebp - 0x88]
call fcn.00402d30
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x417fb0
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004036f0
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x417fe2
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.004036f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042cd1d
mov esp, ebp
pop ebp
ret 4