Function at 0x558e30
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 0x5fa525
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1060
call fcn.0041ead0
mov eax, dword [0x70f200]
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 eax, dword [ebx + 8]
lea ecx, [ebp - 0x60]
mov esi, dword [ebx + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
movups xmmword [ebp - 0x60], xmm0
movq qword [ebp - 0x50], xmm0
call fcn.005d9320
push 1
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push 0x637f9c
push esi
lea ecx, [ebp - 0x78]
movq qword [ebp - 0x68], xmm0
movups xmmword [ebp - 0x78], xmm0
call fcn.005d92a0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x24]
movq qword [ebp - 0x24], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x48]
movq qword [ebp - 0x48], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x30], xmm0
call fcn.005dc5e0
push 0xfc8
lea eax, [ebp - 0x1068]
push 0
push eax
call fcn.00420090
add esp, 0xc
lea ecx, [ebp - 0x1068]
call fcn.005e9a70
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 6
call fcn.005d9210
cmp eax, 1
jne 0x558f51
push 0
call fcn.005d9220
jmp 0x55902e
cmp eax, 2
jne 0x559037
push 0
push 1
lea ecx, [ebp - 0x78]
call fcn.005d9220
mov edx, 0x62428c
mov ecx, eax
call fcn.005d8ad0
test eax, eax
je 0x558fdd
push 0
push 1
lea ecx, [ebp - 0x78]
call fcn.005d9220
mov edx, 0x6242a4
mov ecx, eax
call fcn.005d8ad0
test eax, eax
je 0x558fdd
sub esp, 8
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x78]
push eax
push 0
call fcn.005d9220
push eax
mov ecx, edi
call fcn.00558d10
cmp eax, 1
jne 0x55946b
push ecx
push 0x28
lea eax, [ebp - 0x30]
push eax
push 1
lea ecx, [ebp - 0x78]
call fcn.005d9220
push eax
lea ecx, [ebp - 0x48]
call fcn.005d9870
test al, al
jne 0x559037
mov byte [ebp - 0x106d], al
jmp 0x5592e5
push 0
push 1
push 0
lea ecx, [ebp - 0x78]
call fcn.005d9220
push eax
lea ecx, [ebp - 0x24]
call fcn.005dc260
mov ecx, eax
call fcn.005dbc20
lea ecx, [ebp - 0x24]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x1068]
call fcn.005e9660
test al, al
je 0x55946b
push ecx
push 1
lea ecx, [ebp - 0x78]
call fcn.005d9220
push eax
lea ecx, [ebp - 0x1068]
call fcn.005e9680
push eax
lea ecx, [ebp - 0x30]
call fcn.005dc510
lea ecx, [ebp - 0x30]
call fcn.005dbeb0
test al, al
jne 0x55946b
push 1
push 0x637f9c
push dword [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.005d9070
lea ecx, [ebp - 0x60]
call fcn.005d9210
cmp eax, 1
jne 0x559175
push 0
push eax
push 0
call fcn.005d9220
push eax
lea ecx, [ebp - 0x24]
call fcn.005dc260
mov ecx, eax
call fcn.005dbc20
lea ecx, [ebp - 0x24]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x5590e3
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x30]
call fcn.005dc190
push eax
push 0x624284
push ecx
lea ecx, [ebp - 0x24]
call fcn.005da0a0
mov ecx, eax
call fcn.005da780
lea ecx, [ebp - 0x24]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0x106d], al
jmp 0x5592e5
lea ecx, [ebp - 0x24]
call fcn.005dc190
xor edx, edx
mov ecx, eax
call fcn.005d3780
test al, al
je 0x559269
lea ecx, [ebp - 0x30]
call fcn.005dc190
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.005dc190
mov edx, esi
mov ecx, eax
call fcn.005d3780
test al, al
je 0x559127
mov byte [ebp - 0x106d], 1
jmp 0x5592e5
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x30]
call fcn.005dc190
push eax
push 0x624284
push ecx
lea ecx, [ebp - 0x24]
call fcn.005da0a0
mov ecx, eax
call fcn.005da780
lea ecx, [ebp - 0x24]
call fcn.005dc190
xor edx, edx
mov ecx, eax
call fcn.005d3780
mov byte [ebp - 0x106d], al
jmp 0x5592e5
cmp eax, 2
jne 0x5593ac
push 0
push 1
push 0
lea ecx, [ebp - 0x60]
call fcn.005d9220
push eax
lea ecx, [ebp - 0x24]
call fcn.005dc260
mov ecx, eax
call fcn.005dbc20
lea ecx, [ebp - 0x24]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x55946b
push 0
push 1
lea ecx, [ebp - 0x60]
call fcn.005d9220
mov edx, 0x62428c
mov ecx, eax
call fcn.005d8ad0
test eax, eax
je 0x559373
push 0
push 1
lea ecx, [ebp - 0x60]
call fcn.005d9220
mov edx, 0x6242a4
mov ecx, eax
call fcn.005d8ad0
test eax, eax
je 0x559373
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
push 0
push 0
movups xmmword [ebp - 0x9c], xmm0
movups xmmword [ebp - 0x8c], xmm0
call fcn.005dc190
push eax
lea ecx, [ebp - 0x9c]
call fcn.005e4770
push 0xffff
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x9c]
call fcn.005e3f60
test eax, eax
je 0x55935c
push ecx
push 0x28
lea eax, [ebp - 0x3c]
push eax
push 1
lea ecx, [ebp - 0x60]
call fcn.005d9220
push eax
lea ecx, [ebp - 0x48]
call fcn.005d9870
test al, al
je 0x55935c
lea ecx, [ebp - 0x9c]
call fcn.00401e20
push 0
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x106c]
push eax
push 0x28
push 0xffffffffffffffff
push str..__d_._d_1_3_._
call fcn.00418af0
mov esi, eax
add esp, 0x18
mov dword [ebp - 0x106c], esi
push 1
push 0x627830
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.005d9500
push 1
push 0x627830
push esi
lea ecx, [ebp - 0x3c]
call fcn.005d9500
lea ecx, [ebp - 0x3c]
call fcn.005dc190
lea ecx, [ebp - 0x30]
mov edi, eax
call fcn.005dc190
mov edx, edi
mov ecx, eax
call fcn.005d8320
cmp eax, 1
setl byte [ebp - 0x106d]
test esi, esi
je 0x5592e5
push esi
call fcn.00418a90
add esp, 4
lea ecx, [ebp - 0xac]
call fcn.005dc430
lea ecx, [ebp - 0xb8]
call fcn.005dc430
lea ecx, [ebp - 0xc4]
call fcn.005dc430
lea ecx, [ebp - 0x30]
call fcn.005dc430
lea ecx, [ebp - 0x3c]
call fcn.005dc430
lea ecx, [ebp - 0x48]
call fcn.005dc430
lea ecx, [ebp - 0x24]
call fcn.005dc430
lea ecx, [ebp - 0x78]
call fcn.005d9280
lea ecx, [ebp - 0x60]
call fcn.005d9280
mov al, byte [ebp - 0x106d]
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.0041e1b5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
lea ecx, [ebp - 0x9c]
call fcn.00401e20
mov byte [ebp - 0x106d], 0
jmp 0x5592e5
lea ecx, [ebp - 0x24]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x1068]
call fcn.005e9660
push ecx
push 1
lea ecx, [ebp - 0x60]
call fcn.005d9220
push eax
lea ecx, [ebp - 0x1068]
call fcn.005e9680
push eax
lea ecx, [ebp - 0x3c]
call fcn.005dc510
jmp 0x559269
cmp eax, 3
jne 0x559269
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.005d6aa0
push 0
push 0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 8
call fcn.005d9220
mov edx, str.UniKey
mov ecx, eax
call fcn.005d8ad0
lea ecx, [ebp - 0x60]
test eax, eax
jne 0x559477
push 2
call fcn.005d9220
push eax
push 1
call fcn.005d9220
push eax
lea ecx, [ebp - 0x24]
call fcn.005dc510
push eax
mov ecx, edi
call fcn.0054be00
test eax, eax
je 0x559463
lea eax, [ebp - 0x3c]
push eax
push str.DisplayVersion
lea ecx, [ebp - 0x24]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x18]
call fcn.005d65d0
test al, al
jne 0x5594b8
lea eax, [ebp - 0x3c]
push eax
push str.DisplayName
lea ecx, [ebp - 0x24]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x18]
call fcn.005d65d0
test al, al
je 0x559463
sub esp, 8
lea ecx, [ebp - 0x3c]
push str.d_._d_1_3
call fcn.005d9930
test al, al
jne 0x5594b8
lea ecx, [ebp - 0x18]
call fcn.005d69e0
mov byte [ebp - 0x106d], 0
jmp 0x5592e5
lea eax, [ebp - 0x48]
push eax
push 1
call fcn.005d9220
push eax
push 0
lea ecx, [ebp - 0x60]
call fcn.005d9220
push eax
lea ecx, [ebp - 0x18]
call fcn.005d65d0
test al, al
je 0x559463
push ecx
push 0x28
lea eax, [ebp - 0x3c]
push eax
push 2
lea ecx, [ebp - 0x60]
call fcn.005d9220
push eax
lea ecx, [ebp - 0x48]
call fcn.005d9870
test al, al
je 0x559463
lea ecx, [ebp - 0x18]
call fcn.005d69e0
jmp 0x559269