Function at 0x100c1670
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 0x1034717b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x1040706c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x78], esi
mov edi, dword [ebx + 8]
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ebp - 0x8c], edi
xor eax, eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], esp
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x103d26c0
mov word [ecx], ax
call fcn.10002560
sub esp, 0x18
mov dword [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x84], esp
xor eax, eax
push 0xa
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.5133611325
mov word [ecx], ax
call fcn.10002560
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 4]
call eax
mov edx, eax
mov byte [ebp - 4], 3
cmp dword [edx + 0x14], 8
jb 0x100c1743
mov edx, dword [edx]
sub esp, 0x18
mov ecx, edx
mov esi, esp
mov dword [ebp - 0x88], esp
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x74], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100c1770
sub ecx, dword [ebp - 0x74]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.10002560
mov ecx, dword [ebp - 0x78]
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 4
push edx
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov edx, eax
mov byte [ebp - 4], 5
cmp dword [edx + 0x14], 8
jb 0x100c17a8
mov edx, dword [edx]
sub esp, 0x18
mov ecx, edx
mov esi, esp
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x74], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100c17d0
sub ecx, dword [ebp - 0x74]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.10002560
mov eax, dword [ebp - 0x78]
add eax, 4
mov byte [ebp - 4], 7
push edi
mov ecx, eax
mov dword [ebp - 0x7c], eax
call fcn.100c1ec0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x80], 1
call fcn.100028d0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.100028d0
cmp dword [edi + 0x10], 0
jne 0x100c1a51
push 9
xor eax, eax
mov dword [ebp - 0x1c], 0
push str.WinAssist
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.10002560
mov dword [ebp - 4], 8
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.100b3170
mov ecx, eax
call fcn.1019e48c
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x100c189d
mov ecx, eax
call fcn.100028d0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x48]
call fcn.100028d0
lea eax, [ebp - 0x2c]
push eax
call fcn.1019b695
add esp, 4
test eax, eax
jne 0x100c18c4
push 1
push 0x103d2860
lea ecx, [ebp - 0x2c]
call fcn.100022e0
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100c1919
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.10196d15
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x100c1915
mov edx, dword [ecx]
lea eax, [ebp - 0x58]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov byte [ebp - 4], 8
lea eax, [ebp - 0x2c]
cmp edi, eax
je 0x100c1933
cmp dword [ebp - 0x18], 8
mov ecx, edi
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.10002560
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x88], esp
push edi
call fcn.10002050
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x84], esp
xor eax, eax
push 0xa
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.5133611325
mov word [ecx], ax
call fcn.10002560
mov ecx, dword [ebp - 0x78]
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov esi, eax
mov byte [ebp - 4], 0xd
cmp dword [esi + 0x14], 8
jb 0x100c1992
mov esi, dword [esi]
sub esp, 0x18
mov edx, esi
mov ecx, esp
mov dword [ebp - 0x90], esp
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea eax, [edx + 2]
mov dword [ebp - 0x74], eax
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100c19c0
sub edx, dword [ebp - 0x74]
sar edx, 1
push edx
push esi
call fcn.10002560
mov ecx, dword [ebp - 0x78]
lea edx, [ebp - 0x48]
mov byte [ebp - 4], 0xe
push edx
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov esi, eax
mov byte [ebp - 4], 0xf
cmp dword [esi + 0x14], 8
jb 0x100c19f6
mov esi, dword [esi]
sub esp, 0x18
mov edx, esi
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea eax, [edx + 2]
mov dword [ebp - 0x74], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100c1a16
sub edx, dword [ebp - 0x74]
sar edx, 1
push edx
push esi
call fcn.10002560
mov ecx, dword [ebp - 0x7c]
mov byte [ebp - 4], 0x11
call fcn.100c1fa0
lea ecx, [ebp - 0x48]
call fcn.100028d0
lea ecx, [ebp - 0x70]
call fcn.100028d0
lea ecx, [ebp - 0x2c]
call fcn.100028d0
mov eax, edi
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.100f99ca
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4