Function at 0x576690
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73fe5e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2f0
mov eax, dword [0x857060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebx + 8]
xor eax, eax
mov dword [ebp - 0x2fc], esi
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0xc]
cmp eax, 1
je 0x576944
cmp eax, 2
je 0x576944
test eax, eax
je 0x576814
cmp eax, 4
je 0x576814
cmp eax, 5
jne 0x577194
xor eax, eax
mov dword [ebp - 0x2b8], 0
push eax
push 0x799430
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2b4], 7
mov word [ebp - 0x2c8], ax
call fcn.00426d40
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x268]
push 0xa
xor eax, eax
mov dword [ebp - 0x258], 0
push str.Config.xml
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
call fcn.00426d40
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x268]
mov edx, 0xc9
push eax
push str.CONFIG
lea ecx, [ebp - 0x2e0]
call fcn.00562540
mov edi, eax
add esp, 0xc
lea eax, [ebp - 0x238]
cmp eax, edi
je 0x5767f3
mov ecx, eax
call fcn.00426ce0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x238], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x228], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x2e0]
call fcn.00426ce0
lea ecx, [ebp - 0x268]
call fcn.00426ce0
lea ecx, [ebp - 0x2c8]
jmp 0x57718f
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x57691c
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x57691c
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x576850
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.00426d40
push 9
xor eax, eax
mov dword [ebp - 0x258], 0
push str.resources
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
call fcn.00426d40
push ecx
lea edx, [ebp - 0x268]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x238]
call fcn.00651b80
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00426ce0
push 0xa
xor eax, eax
mov dword [ebp - 0x258], 0
push str.config.xml
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
call fcn.00426d40
push ecx
lea edx, [ebp - 0x268]
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x238]
call fcn.00651b80
add esp, 4
lea ecx, [ebp - 0x268]
jmp 0x57718f
push str.Failed_to_get_current_application_directory_path.
push 0x799430
push 0x799430
push str.ESDProductData
push 0x799430
push 0x28
call fcn.0056c500
add esp, 0x18
jmp 0x577194
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
push ecx
lea edx, [ebp - 0x250]
mov byte [ebp - 4], 1
lea ecx, [eax + 0x23]
call fcn.00650b50
add esp, 4
lea ecx, [ebp - 0x250]
push 6
push 0x7ea5d0
call fcn.0044a2e0
push 9
xor eax, eax
mov dword [ebp - 0x258], 0
push str.Installer
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
call fcn.00426d40
push ecx
lea edx, [ebp - 0x268]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x250]
call fcn.00651b80
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x268]
call fcn.00426ce0
push 5
xor eax, eax
mov dword [ebp - 0x258], 0
push str.Icons
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
call fcn.00426d40
push ecx
lea edx, [ebp - 0x268]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x250]
call fcn.00651b80
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x268]
call fcn.00426ce0
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
push dword [ebp - 0x240]
cmovae eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x238]
push eax
call fcn.00426d40
mov eax, dword [edi + 0x54]
lea ecx, [ebp - 0x268]
add eax, 0x54
push eax
call fcn.00449230
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c8]
mov eax, dword [edi + 0x54]
add eax, 0x3c
push eax
call fcn.00449230
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2e0]
mov eax, dword [edi + 0x54]
add eax, 0xc
push eax
call fcn.00449230
push 1
mov byte [ebp - 4], 6
push 0x79ec70
lea ecx, [ebp - 0x2e0]
call fcn.0044a2e0
mov dword [ebp - 0x270], 0
xor ecx, ecx
mov dword [ebp - 0x26c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x280], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x270], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x270]
sub eax, ecx
mov edx, dword [ebp - 0x2b8]
cmp edx, eax
jbe 0x576b3b
mov eax, dword [ebp - 0x2b4]
sub eax, edx
cmp eax, ecx
jb 0x576b3b
cmp dword [ebp - 0x26c], 8
lea eax, [ebp - 0x280]
push ecx
cmovae eax, dword [ebp - 0x280]
push eax
push ecx
lea ecx, [ebp - 0x2c8]
call fcn.005133a0
jmp 0x576b5c
cmp dword [ebp - 0x2b4], 8
lea eax, [ebp - 0x2c8]
push edx
cmovae eax, dword [ebp - 0x2c8]
lea ecx, [ebp - 0x280]
push eax
call fcn.0044a2e0
mov dword [ebp - 0x288], 0
xor ecx, ecx
mov dword [ebp - 0x284], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x298], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x288], xmm0
mov word [eax], cx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
push 1
push 0x79ec70
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 8
call fcn.0044a2e0
mov dword [ebp - 0x2a0], 0
xor ecx, ecx
mov dword [ebp - 0x29c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2b0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2a0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x29c]
mov ecx, dword [ebp - 0x2a0]
sub eax, ecx
mov edx, dword [ebp - 0x258]
cmp edx, eax
jbe 0x576c36
mov eax, dword [ebp - 0x254]
sub eax, edx
cmp eax, ecx
jb 0x576c36
cmp dword [ebp - 0x29c], 8
lea eax, [ebp - 0x2b0]
push ecx
cmovae eax, dword [ebp - 0x2b0]
push eax
push ecx
lea ecx, [ebp - 0x268]
call fcn.005133a0
jmp 0x576c57
cmp dword [ebp - 0x254], 8
lea eax, [ebp - 0x268]
push edx
cmovae eax, dword [ebp - 0x268]
lea ecx, [ebp - 0x2b0]
push eax
call fcn.0044a2e0
mov dword [ebp - 0x2e8], 0
xor ecx, ecx
mov dword [ebp - 0x2e4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2f8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2e8], xmm0
mov word [eax], cx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
push ecx
lea edx, [ebp - 0x2f8]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x238]
call fcn.00651b80
add esp, 4
lea ecx, [ebp - 0x2f8]
call fcn.00426ce0
lea ecx, [ebp - 0x2b0]
call fcn.00426ce0
lea ecx, [ebp - 0x298]
call fcn.00426ce0
lea ecx, [ebp - 0x280]
call fcn.00426ce0
lea ecx, [ebp - 0x2e0]
call fcn.00426ce0
lea ecx, [ebp - 0x2c8]
call fcn.00426ce0
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call fcn.00426ce0
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x577136
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
push dword [ebp - 0x240]
cmovae eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x238]
push eax
call fcn.00426d40
mov eax, dword [edi + 0x54]
lea ecx, [ebp - 0x2c8]
add eax, 0x54
push eax
call fcn.00449230
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x268]
mov eax, dword [edi + 0x54]
add eax, 0x24
push eax
call fcn.00449230
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2e0]
mov eax, dword [edi + 0x54]
add eax, 0xc
push eax
call fcn.00449230
push 1
push 0x79ec70
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 0xd
call fcn.0044a2e0
mov dword [ebp - 0x270], 0
xor ecx, ecx
mov dword [ebp - 0x26c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x280], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x270], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x270]
sub eax, ecx
mov edx, dword [ebp - 0x258]
cmp edx, eax
jbe 0x576e22
mov eax, dword [ebp - 0x254]
sub eax, edx
cmp eax, ecx
jb 0x576e22
cmp dword [ebp - 0x26c], 8
lea eax, [ebp - 0x280]
push ecx
cmovae eax, dword [ebp - 0x280]
push eax
push ecx
lea ecx, [ebp - 0x268]
call fcn.005133a0
jmp 0x576e43
cmp dword [ebp - 0x254], 8
lea eax, [ebp - 0x268]
push edx
cmovae eax, dword [ebp - 0x268]
lea ecx, [ebp - 0x280]
push eax
call fcn.0044a2e0
mov dword [ebp - 0x2a0], 0
xor ecx, ecx
mov dword [ebp - 0x29c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2b0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2a0], xmm0
mov word [eax], cx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x29c]
mov ecx, dword [ebp - 0x2a0]
sub eax, ecx
mov edx, dword [ebp - 0x2b8]
cmp edx, eax
jbe 0x576ec9
mov eax, dword [ebp - 0x2b4]
sub eax, edx
cmp eax, ecx
jb 0x576ec9
cmp dword [ebp - 0x29c], 8
lea eax, [ebp - 0x2b0]
push ecx
cmovae eax, dword [ebp - 0x2b0]
push eax
push ecx
lea ecx, [ebp - 0x2c8]
call fcn.005133a0
jmp 0x576eea
cmp dword [ebp - 0x2b4], 8
lea eax, [ebp - 0x2c8]
push edx
cmovae eax, dword [ebp - 0x2c8]
lea ecx, [ebp - 0x2b0]
push eax
call fcn.0044a2e0
mov dword [ebp - 0x288], 0
xor ecx, ecx
mov dword [ebp - 0x284], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x298], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x288], xmm0
mov word [eax], cx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
push ecx
lea edx, [ebp - 0x298]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x238]
call fcn.00651b80
add esp, 4
lea ecx, [ebp - 0x298]
call fcn.00426ce0
lea ecx, [ebp - 0x2b0]
call fcn.00426ce0
lea ecx, [ebp - 0x280]
call fcn.00426ce0
lea ecx, [ebp - 0x2e0]
call fcn.00426ce0
lea ecx, [ebp - 0x268]
call fcn.00426ce0
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 1
call fcn.00426ce0
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x577136
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
push dword [ebp - 0x240]
cmovae eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x238]
push eax
call fcn.00426d40
mov eax, dword [edi + 0x54]
lea ecx, [ebp - 0x268]
add eax, 0x24
push eax
call fcn.00449230
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2e0]
mov eax, dword [edi + 0x54]
add eax, 0xc
push eax
call fcn.00449230
push 1
push 0x79ec70
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 0x12
call fcn.0044a2e0
mov dword [ebp - 0x270], 0
xor ecx, ecx
mov dword [ebp - 0x26c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x280], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x270], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x270]
sub eax, ecx
mov edx, dword [ebp - 0x258]
mov edi, dword [ebp - 0x254]
cmp edx, eax
jbe 0x577096
mov eax, edi
sub eax, edx
cmp eax, ecx
jb 0x577096
cmp dword [ebp - 0x26c], 8
lea eax, [ebp - 0x280]
push ecx
cmovae eax, dword [ebp - 0x280]
push eax
push ecx
lea ecx, [ebp - 0x268]
call fcn.005133a0
jmp 0x5770b3
cmp edi, 8
lea eax, [ebp - 0x268]
push edx
cmovae eax, dword [ebp - 0x268]
lea ecx, [ebp - 0x280]
push eax
call fcn.0044a2e0
mov dword [ebp - 0x288], 0
xor ecx, ecx
mov dword [ebp - 0x284], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x298], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x288], xmm0
mov word [eax], cx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
push ecx
lea edx, [ebp - 0x298]
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x238]
call fcn.00651b80
add esp, 4
lea ecx, [ebp - 0x298]
call fcn.00426ce0
lea ecx, [ebp - 0x280]
call fcn.00426ce0
lea ecx, [ebp - 0x2e0]
call fcn.00426ce0
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call fcn.00426ce0
push 0xa
xor eax, eax
mov dword [ebp - 0x258], 0
push str.config.xml
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
call fcn.00426d40
push ecx
lea edx, [ebp - 0x268]
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x238]
call fcn.00651b80
add esp, 4
lea ecx, [ebp - 0x268]
call fcn.00426ce0
lea ecx, [ebp - 0x250]
call fcn.00426ce0
movups xmm0, xmmword [ebp - 0x238]
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x238]
mov dword [esi + 0x14], 0
xor eax, eax
movups xmmword [esi], xmm0
mov word [ebp - 0x238], ax
movq xmm0, qword [ebp - 0x228]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], 7
call fcn.00426ce0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006d0965
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8