Function at 0x100bb890
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 0x1022e241
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x160
mov eax, dword [0x102e91c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x128], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x12c], eax
xor eax, eax
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.1014d3c0
lea ecx, [ebp - 0xc0]
call fcn.1016d110
mov ecx, dword [ebp - 0x50]
mov esi, 2
test ecx, ecx
je 0x100bb9ec
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x100bb9ec
lea edi, [ecx + 0xb]
xor ecx, ecx
add edi, eax
mov eax, edi
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101dc6a1
mov esi, eax
add esp, 4
test esi, esi
je 0x100bb9e7
cmp dword [ebp - 0x4c], 8
lea ecx, [ebp - 0x60]
cmovae ecx, dword [ebp - 0x60]
push ecx
push edi
push esi
call fcn.101dc63d
add esp, 0xc
lea eax, [ebp - 0xc0]
cmp dword [ebp - 0xac], 8
cmovae eax, dword [ebp - 0xc0]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100bb9c5
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x60]
call fcn.10010360
push esi
call fcn.101dbd83
add esp, 4
mov esi, 2
push ecx
lea ecx, [ebp - 0x60]
call fcn.1014e6f0
add esp, 4
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
push 5
push str.CCLBS
call fcn.1000aef0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x100bbaa3
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x100bbaa3
lea edi, [ecx + 0xb]
xor ecx, ecx
add edi, eax
mov eax, edi
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101dc6a1
mov esi, eax
add esp, 4
test esi, esi
je 0x100bbaa3
cmp dword [ebp - 0x4c], 8
lea ecx, [ebp - 0x60]
cmovae ecx, dword [ebp - 0x60]
push ecx
push edi
push esi
call fcn.101dc63d
add esp, 0xc
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
cmovae eax, dword [ebp - 0x48]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100bba81
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x60]
call fcn.10010360
push esi
call fcn.101dbd83
add esp, 4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.1000ae90
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100bbb0d
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push ecx
push 1
sub esp, 0xc
mov byte [ebp - 4], 4
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x60]
call fcn.1014eab0
add esp, 0x14
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.100102e0
push ecx
lea ecx, [ebp - 0x60]
call fcn.1014e6f0
add esp, 4
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x20], 0
push 0xc8
call fcn.101cff73
add esp, 4
mov esi, eax
mov dword [ebp - 0xf8], esi
push 0xc8
push 0
push esi
call fcn.101d28f0
add esp, 0xc
mov ecx, esi
call fcn.1017ce20
mov dword [ebp - 0x24], eax
xorps xmm0, xmm0
mov byte [ebp - 4], 5
movlpd qword [ebp - 0x30], xmm0
push 0xc8
mov dword [ebp - 0x2c], 0
call fcn.101cff73
add esp, 4
mov esi, eax
mov dword [ebp - 0xf8], esi
push 0xc8
push 0
push esi
call fcn.101d28f0
add esp, 0xc
mov ecx, esi
call fcn.1017ce20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 6
call fcn.10022d10
mov eax, dword [0x102f2f48]
test eax, eax
jne 0x100bbbe4
push 0x1ec
call fcn.101cff73
mov esi, eax
add esp, 4
mov dword [ebp - 0xf8], esi
push 0x1ec
push 0
push esi
mov byte [ebp - 4], 7
call fcn.101d28f0
add esp, 0xc
mov ecx, esi
call fcn.100c3a70
mov byte [ebp - 4], 6
mov dword [0x102f2f48], eax
add eax, 0xd4
lea ecx, [ebp - 0x118]
push eax
call fcn.1000fe90
mov byte [ebp - 4], 8
lea edi, [ebp - 0x118]
cmp dword [ebp - 0x104], 8
cmovae edi, dword [ebp - 0x118]
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100bbc12
sub esi, ecx
mov ecx, dword [ebp - 0x30]
sar esi, 1
call fcn.1017cf30
mov ecx, dword [ebp - 0x30]
call fcn.1017ceb0
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
add eax, 4
push eax
push 0
push 0
push 8
push ecx
lea eax, [esi + esi]
push eax
push edi
push edx
lea ecx, [ebp - 0x13c]
call fcn.1017c490
add esp, 0x20
lea ecx, [ebp - 0x118]
call fcn.1000ae90
xor eax, eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x160]
push 0x19
xorps xmm0, xmm0
mov dword [ebp - 0x120], eax
push str._applications_application
movq qword [ebp - 0xa8], xmm0
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], eax
call fcn.1000aef0
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x30]
call fcn.1014beb0
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 0xe
call fcn.1000ae90
mov edx, dword [ebp - 0x120]
lea eax, [edx - 2]
cmp eax, 1
ja 0x100bc232
xor ecx, ecx
mov dword [ebp - 0x124], ecx
test edx, edx
jle 0x100bc0ce
mov esi, dword [ebp - 0xa8]
mov edx, esi
mov eax, dword [ebp - 0xa4]
sub eax, esi
mov dword [ebp - 0x11c], esi
sar eax, 2
mov dword [ebp - 0xf8], eax
cmp eax, ecx
ja 0x100bbd80
xor ecx, ecx
jmp 0x100bbd90
test ecx, ecx
mov eax, esi
cmovg eax, edx
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x9c]
mov dword [ebp - 0xfc], ecx
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.1014c860
test al, al
je 0x100bc232
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
push 0xc8
mov dword [ebp - 0x18], 0
call fcn.101cff73
add esp, 4
mov edi, eax
mov dword [ebp - 0x100], edi
push 0xc8
push 0
push edi
call fcn.101d28f0
add esp, 0xc
mov ecx, edi
call fcn.1017ce20
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x9c]
cmp dword [ebp - 0x88], 8
cmovae eax, dword [ebp - 0x9c]
mov edi, eax
mov dword [ebp - 0xfc], eax
lea edx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x100bbe14
sub edi, edx
sar edi, 1
call fcn.1017cf30
mov ecx, dword [ebp - 0x1c]
call fcn.1017ceb0
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
add eax, 4
push eax
push 0
push 0
push 8
push ecx
lea eax, [edi + edi]
push eax
push dword [ebp - 0xfc]
lea ecx, [ebp - 0x16c]
push edx
call fcn.1017c490
add esp, 0x20
cmp dword [ebp - 0x16c], 0
jne 0x100bc216
push 0x11
push str._applications_cdn
lea ecx, [ebp - 0x118]
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
call fcn.1000aef0
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x30]
call fcn.1014bca0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0xf
mov edi, eax
call fcn.1000ae90
test edi, edi
je 0x100bbf29
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x100bbf1a
mov edx, dword [edx + 0x10]
test edx, edx
je 0x100bbf1a
mov ecx, dword [edx]
mov eax, edx
shr ecx, 8
sub eax, ecx
mov ecx, dword [eax]
lea eax, [ecx - 0x20]
neg ecx
sbb ecx, ecx
test eax, ecx
je 0x100bbf1a
lea eax, [ebp - 0xfc]
mov dword [ebp - 0xfc], edi
push eax
lea eax, [ebp - 0x130]
mov dword [ebp - 0x100], edx
push eax
lea ecx, [ebp - 0x100]
call fcn.1017ca60
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1014c730
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x118]
push 0x11
push str._application_name
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], eax
call fcn.1000aef0
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1014c160
lea ecx, [ebp - 0x118]
mov byte [ebp - 0xf1], al
mov byte [ebp - 4], 0x11
call fcn.1000ae90
cmp byte [ebp - 0xf1], 0
je 0x100bc1f2
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x38], 5
jne 0x100bc05c
mov edi, 5
mov edx, str.CCLBS
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x100bc05c
add ecx, 2
add edx, 2
sub edi, 1
jne 0x100bbfd1
cmp dword [ebp - 0x88], 8
lea eax, [ebp - 0x9c]
cmovae eax, dword [ebp - 0x9c]
mov edi, eax
mov dword [ebp - 0x100], eax
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x100bc007
sub edi, ecx
mov ecx, dword [ebp - 0x24]
sar edi, 1
call fcn.1017cf30
mov ecx, dword [ebp - 0x24]
call fcn.1017ceb0
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
add eax, 4
push eax
push 0
push 0
push 8
push ecx
lea eax, [edi + edi]
push eax
push dword [ebp - 0x100]
lea ecx, [ebp - 0x13c]
push edx
call fcn.1017c490
add esp, 0x20
cmp dword [ebp - 0x13c], 0
jne 0x100bc1f2
lea ecx, [ebp - 0x48]
call fcn.1000ae90
mov byte [ebp - 4], 0xe
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x100bc084
mov ecx, edi
call fcn.1017cf30
push 0xc8
push edi
call fcn.101d02bd
add esp, 8
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x100bc0a0
mov ecx, edi
call fcn.1017cf30
push 0xc8
push edi
call fcn.101d02bd
add esp, 8
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x11c]
inc ecx
mov eax, dword [ebp - 0xf8]
add edx, 4
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x11c], edx
cmp ecx, dword [ebp - 0x120]
jl 0x100bbd78
push 0x40
push str._application_packageSets_packageSet_packages_package_manifestUrl
lea ecx, [ebp - 0x118]
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
call fcn.1000aef0
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x24]
call fcn.1014c160
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0xe
call fcn.1000ae90
mov edx, 1
lea ecx, [ebp - 0x84]
cmp dword [ebp - 0x74], edx
push 1
cmovb edx, dword [ebp - 0x74]
cmp dword [ebp - 0x70], 8
push 0x10275da8
cmovae ecx, dword [ebp - 0x84]
call fcn.10010bf0
add esp, 8
test eax, eax
jne 0x100bc3a5
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x118]
push 0x17
push str._application_cdn_secure
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], eax
call fcn.1000aef0
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x24]
call fcn.1014c160
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x14
call fcn.1000ae90
mov edx, dword [ebp - 0x38]
mov eax, SysReAllocString
mov esi, dword [ebp - 0x74]
sub eax, edx
cmp eax, esi
jb 0x100bc496
jmp 0x100bc319
lea ecx, [ebp - 0x48]
call fcn.1000ae90
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x100bc216
mov ecx, esi
call fcn.1017cf30
push 0xc8
push esi
call fcn.101d02bd
add esp, 8
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x100bc232
mov ecx, esi
call fcn.1017cf30
push 0xc8
push esi
call fcn.101d02bd
add esp, 8
mov byte [ebp - 0xf1], 0
lea ecx, [ebp - 0xa8]
call fcn.10010270
lea ecx, [ebp - 0x9c]
call fcn.1000ae90
lea ecx, [ebp - 0xd8]
call fcn.1000ae90
lea ecx, [ebp - 0x84]
call fcn.1000ae90
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x100bc281
mov ecx, esi
call fcn.1017cf30
push 0xc8
push esi
call fcn.101d02bd
add esp, 8
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x100bc29d
mov ecx, esi
call fcn.1017cf30
push 0xc8
push esi
call fcn.101d02bd
add esp, 8
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x100bc2b9
mov ecx, esi
call fcn.1017cf30
push 0xc8
push esi
call fcn.101d02bd
add esp, 8
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x100bc2d5
mov ecx, esi
call fcn.1017cf30
push 0xc8
push esi
call fcn.101d02bd
add esp, 8
lea ecx, [ebp - 0xc0]
call fcn.1000ae90
lea ecx, [ebp - 0x60]
call fcn.1000ae90
lea ecx, [ebp - 0xf0]
call fcn.1000ae90
mov al, byte [ebp - 0xf1]
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.101cff65
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x48]
push esi
cmovae ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x84]
cmp dword [ebp - 0x70], 8
cmovae eax, dword [ebp - 0x84]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x130]
lea ecx, [ebp - 0x148]
call fcn.10011120
lea ecx, [ebp - 0x84]
call fcn.1000ae90
movups xmm0, xmmword [ebp - 0x148]
xor eax, eax
lea ecx, [ebp - 0x148]
mov word [ebp - 0x148], ax
movups xmmword [ebp - 0x84], xmm0
movq xmm0, qword [ebp - 0x138]
movq qword [ebp - 0x74], xmm0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 7
call fcn.1000ae90
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xe
call fcn.1000ae90
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0xf1]
push eax
lea eax, [ebp - 0x60]
mov byte [ebp - 0xf1], 0
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.100bb270
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
movq qword [ebp - 0x6c], xmm0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x118]
push 4
push str.pimx
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
call fcn.1000aef0
sub esp, 8
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x6c]
lea edx, [ebp - 0x118]
lea ecx, [ebp - 0x60]
push eax
call fcn.1014f190
add esp, 0xc
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x118]
call fcn.1000ae90
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x6c]
sub eax, edx
sub eax, 0x18
cmp eax, 0x18
jae 0x100bc482
mov esi, dword [ebp - 0x12c]
cmp esi, edx
je 0x100bc47b
mov eax, edx
cmp dword [eax + 0x14], 8
jb 0x100bc470
mov edx, dword [edx]
push dword [eax + 0x10]
mov ecx, esi
push edx
call fcn.10010360
mov ecx, esi
call fcn.1014e120
lea ecx, [ebp - 0x6c]
mov byte [ebp - 0xf1], 1
call fcn.100102e0
jmp 0x100bc239
call fcn.1000a360
int3