Function at 0x449320
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c418d
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x64a070]
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
mov esi, ecx
mov dword [ebp - 0x5c], esi
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x4494c5
cmp eax, 2
je 0x4494c5
test eax, eax
je 0x449409
cmp eax, 4
je 0x449409
cmp eax, 5
jne 0x44999b
push 0x5f8398
lea ecx, [ebp - 0x58]
call fcn.00408810
push str.Config.xml
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x13
call fcn.00408810
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x74]
mov edx, 0xc9
push eax
push str.CONFIG
lea ecx, [ebp - 0x8c]
call fcn.00436b30
add esp, 0xc
lea ecx, [ebp - 0x28]
push eax
call fcn.0040d2b0
lea ecx, [ebp - 0x8c]
call fcn.004087d0
lea ecx, [ebp - 0x74]
call fcn.004087d0
lea ecx, [ebp - 0x58]
call fcn.004087d0
jmp 0x44999b
lea ecx, [ebp - 0x28]
call fcn.0051d620
test al, al
jne 0x44946c
mov eax, fcn.00440ae0
test eax, eax
je 0x449441
push str.Failed_to_get_current_application_directory_path.
push 0x5f8398
push 0x5f8398
push str.ESDProductData
push 0x5f8398
push 0x28
call fcn.00440ae0
add esp, 0x18
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov ecx, ebx
mov word [ebx], ax
lea eax, [ebp - 0x28]
push eax
call fcn.0040c680
lea ecx, [ebp - 0x28]
call fcn.004087d0
jmp 0x4499ce
push str.resources
lea ecx, [ebp - 0x74]
call fcn.00408810
push ecx
lea edx, [ebp - 0x74]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x28]
call fcn.0051de40
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.004087d0
push str.config.xml
lea ecx, [ebp - 0x74]
call fcn.00408810
push ecx
lea edx, [ebp - 0x74]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x28]
call fcn.0051de40
add esp, 4
lea ecx, [ebp - 0x74]
call fcn.004087d0
jmp 0x44999b
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0051d800
test al, al
jne 0x449561
mov eax, fcn.00440ae0
test eax, eax
je 0x449515
push str.Failed_to_get_asf_file_path.
push 0x5f8398
push 0x5f8398
push str.ESDProductData
push 0x5f8398
push 0x28
call fcn.00440ae0
add esp, 0x18
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov ecx, ebx
mov word [ebx], ax
lea eax, [ebp - 0x40]
push eax
call fcn.0040c680
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x449548
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00409510
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jmp 0x4499b9
push str.Installer
lea ecx, [ebp - 0x58]
call fcn.00408810
push ecx
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0051de40
mov byte [ebp - 4], 1
add esp, 4
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x44959a
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00409510
push 0x6010d8
lea ecx, [ebp - 0x58]
call fcn.00408810
push ecx
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0051de40
mov byte [ebp - 4], 1
add esp, 4
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x4495d3
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00409510
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408f10
mov ecx, dword [esi + 0x54]
lea eax, [ebp - 0x74]
push eax
call fcn.00445030
mov edi, eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
mov ecx, dword [esi + 0x54]
push eax
call fcn.00445200
mov esi, eax
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 5
push eax
mov ecx, dword [ecx + 0x54]
call fcn.00444ff0
push 0x6010d4
push eax
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 6
push eax
call fcn.0041ee20
add esp, 0xc
push esi
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xec]
call fcn.00410ad0
add esp, 4
push 0x6010d4
push eax
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 8
push eax
call fcn.0041ee20
add esp, 0xc
push edi
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbc]
call fcn.00410ad0
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.0051de40
mov eax, dword [ebp - 0xa8]
add esp, 4
cmp eax, 8
jb 0x4496a1
inc eax
lea ecx, [ebp - 0xbc]
push eax
push dword [ebp - 0xbc]
call fcn.00409510
xor eax, eax
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xac], 0
cmp eax, 8
jb 0x4496dc
inc eax
lea ecx, [ebp - 0xd4]
push eax
push dword [ebp - 0xd4]
call fcn.00409510
xor eax, eax
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xc4], 0
cmp eax, 8
jb 0x449717
inc eax
lea ecx, [ebp - 0xec]
push eax
push dword [ebp - 0xec]
call fcn.00409510
xor eax, eax
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], ax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xdc], 0
cmp eax, 8
jb 0x449752
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.00409510
xor eax, eax
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x94], 0
cmp eax, 8
jb 0x44978a
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00409510
xor eax, eax
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x7c], 0
cmp eax, 8
jb 0x4497b6
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00409510
xor eax, eax
mov byte [ebp - 4], 1
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x4497e3
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00409510
push str.config.xml
lea ecx, [ebp - 0x58]
call fcn.00408810
push ecx
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.0051de40
mov byte [ebp - 4], 1
add esp, 4
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x44981c
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00409510
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x449986
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408f10
mov edi, dword [ebp - 0x5c]
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [edi + 0x54]
call fcn.00445200
mov esi, eax
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0xc
mov ecx, dword [edi + 0x54]
push eax
call fcn.00444ff0
push 0x6010d4
push eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0xd
push eax
call fcn.0041ee20
add esp, 0xc
push esi
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x58]
call fcn.00410ad0
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28]
call fcn.0051de40
mov eax, dword [ebp - 0x44]
add esp, 4
cmp eax, 8
jb 0x4498b7
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00409510
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x4498e6
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00409510
xor eax, eax
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x7c], 0
cmp eax, 8
jb 0x44991b
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.00409510
xor eax, eax
mov byte [ebp - 4], 1
mov word [ebp - 0xa4], ax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x94], 0
cmp eax, 8
jb 0x449951
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00409510
push str.config.xml
lea ecx, [ebp - 0x58]
call fcn.00408810
push ecx
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
call fcn.0051de40
mov eax, dword [ebp - 0x44]
add esp, 4
cmp eax, 8
jb 0x449986
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00409510
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x44999b
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00409510
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov ecx, ebx
mov word [ebx], ax
lea eax, [ebp - 0x28]
push eax
call fcn.0040c680
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4499ce
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409510
mov eax, ebx
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.0057608a
mov esp, ebp
pop ebp
ret 8