Function at 0x11d33770
Capabilities:
Check if file exists
Get file attributes
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x11fa7762
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b0
mov eax, dword [0x12133f80]
push ebx
push ebp
mov ebx, ecx
push esi
mov esi, dword [esp + 0x2cc]
test eax, eax
push edi
mov dword [esp + 0x50], ebx
je 0x11d337ba
push esi
push str.CSafeInject::FindWin10AppAssocProByGUID_1__wszProgid__s__n
push str.SafeInject
push 4
call fcn.11ca5810
add esp, 0x10
test esi, esi
je 0x11d34232
push esi
call fcn.11e67d05
add esp, 4
test eax, eax
je 0x11d34232
mov eax, dword [esp + 0x2d4]
test eax, eax
je 0x11d34232
push esi
lea ecx, [esp + 0x38]
xor ebp, ebp
call fcn.11e7eae0
push 0x12119948
lea ecx, [esp + 0x30]
mov dword [esp + 0x2cc], ebp
call fcn.11e7eae0
lea eax, [ebx + 4]
push 1
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x2d0], 1
call fcn.11e8c590
mov byte [esp + 0x2c8], 2
xor esi, esi
lea edi, [ebx + 0xc]
mov eax, dword [edi]
push eax
mov eax, dword [esp + 0x38]
push eax
call fcn.11e67e01
add esp, 8
test eax, eax
je 0x11d33846
inc esi
add edi, 8
cmp esi, 0xa
jl 0x11d33827
jmp 0x11d33859
lea ecx, [ebx + esi*8 + 0x10]
mov ebp, 1
push ecx
lea ecx, [esp + 0x30]
call fcn.11e7f410
lea ecx, [esp + 0x58]
mov byte [esp + 0x2c8], 1
call fcn.11e8c5f0
test ebp, ebp
je 0x11d338ea
mov edx, dword [esp + 0x2c]
push edx
call fcn.11e67d05
add esp, 4
test eax, eax
jbe 0x11d338ea
mov eax, dword [0x12133f80]
test eax, eax
je 0x11d338a1
mov eax, dword [esp + 0x2c]
push eax
push str.CSafeInject::FindWin10AppAssocProByGUID_2__Find_wstrCachePath__s_
push str.SafeInject
push 4
call fcn.11ca5810
add esp, 0x10
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2d4]
push 0x103
push ecx
push edx
call fcn.11e674bf
add esp, 0xc
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c8], 0
call fcn.11e7f280
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c8], 0xffffffff
call fcn.11e7f280
mov eax, 1
jmp 0x11d34234
push str.Application
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], 0
call fcn.11e7fed0
lea ecx, [esp + 0x48]
call fcn.11e8d1a0
mov eax, dword [esp + 0x34]
push 0x20019
push eax
push bind
lea ecx, [esp + 0x54]
mov byte [esp + 0x2d4], 3
call fcn.11e8d310
test eax, eax
je 0x11d341f6
mov eax, dword [0x12133f80]
test eax, eax
je 0x11d3394e
push str.CSafeInject::FindWin10AppAssocProByGUID_3_n
push str.SafeInject
push 4
call fcn.11ca5810
add esp, 0xc
lea ecx, [esp + 0x24]
push str.ApplicationIcon
push ecx
lea ecx, [esp + 0x50]
call fcn.11e8d940
mov eax, dword [esp + 0x24]
mov byte [esp + 0x2c8], 4
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x11d341dc
mov ecx, dword [0x12133f80]
test ecx, ecx
je 0x11d33997
push eax
push str.CSafeInject::FindWin10AppAssocProByGUID_4__wstrRegValue__s__n
push str.SafeInject
push 4
call fcn.11ca5810
add esp, 0x10
mov edx, dword [0x11fd6250]
xor esi, esi
xor ebp, ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], edx
push 0x120797a0
lea ecx, [esp + 0x28]
mov byte [esp + 0x2cc], 5
call fcn.11e80460
mov ebx, eax
cmp ebx, 0xffffffff
je 0x11d339cf
mov ebp, 1
lea eax, [ebx + 1]
lea ecx, [esp + 0x24]
push eax
push 0x3f
call fcn.11e803c0
mov edi, eax
cmp edi, 0xffffffff
je 0x11d339ed
mov dword [esp + 0x28], 1
test ebp, ebp
jne 0x11d33aad
mov ecx, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ecx
call esi
cmp eax, 0xffffffff
je 0x11d33aa9
push 0x5c
lea ecx, [esp + 0x28]
call fcn.11e80430
push eax
lea edx, [esp + 0x1c]
push ebp
push edx
lea ecx, [esp + 0x30]
call fcn.11e815a0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2cc], 6
call fcn.11e7f410
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c8], 5
call fcn.11e7f280
push 0x5c
lea ecx, [esp + 0x14]
call fcn.11e80430
push eax
lea eax, [esp + 0x1c]
push ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.11e815a0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2cc], 7
call fcn.11e7f410
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c8], 5
call fcn.11e7f280
push str.AppxManifest.xml
lea ecx, [esp + 0x14]
call fcn.11e7fed0
mov ecx, dword [esp + 0x10]
push ecx
call esi
cmp eax, 0xffffffff
je 0x11d33aa9
mov dword [esp + 0x1c], 1
mov esi, dword [esp + 0x1c]
mov eax, dword [0x12133f80]
test eax, eax
je 0x11d33ad6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
push edx
push esi
push eax
push ebp
push str.CSafeInject::FindWin10AppAssocProByGUID_4.5__bFindStart__d___bFindEnd__d___bGotXMLPath__d___wstrXMLPath__s__n
push str.SafeInject
push 4
call fcn.11ca5810
add esp, 0x1c
test ebp, ebp
je 0x11d33ae2
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x11d33aea
test esi, esi
je 0x11d341cb
mov ecx, dword [0x11fd6250]
mov dword [esp + 0x28], ecx
test esi, esi
mov byte [esp + 0x2c8], 8
jne 0x11d33b5d
sub edi, ebx
add ebx, 2
sub edi, 2
lea edx, [esp + 0x18]
push edi
push ebx
push edx
lea ecx, [esp + 0x30]
call fcn.11e815a0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2cc], 9
call fcn.11e7f410
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c8], 8
call fcn.11e7f280
mov eax, dword [0x12133f80]
test eax, eax
je 0x11d33b5d
mov eax, dword [esp + 0x28]
push eax
push str.CSafeInject::FindWin10AppAssocProByGUID_5__wstrAppName__s__n
push str.SafeInject
push 4
call fcn.11ca5810
add esp, 0x10
mov eax, dword [0x12134910]
test eax, eax
jne 0x11d33b6e
test esi, esi
je 0x11d341ba
push 0x12119948
lea ecx, [esp + 0x44]
xor esi, esi
call fcn.11e7eae0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x2c8], 0xa
test eax, eax
jne 0x11d33c01
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xba]
mov word [esp + 0xb8], si
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xb8]
lea edx, [esp + 0x18]
stosw word es:[edi], ax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
mov dword [esp + 0x24], 0x104
call dword [0x12134910]
lea ecx, [esp + 0xb8]
mov esi, eax
push ecx
lea ecx, [esp + 0x44]
call fcn.11e7f500
lea edx, [esp + 0xb8]
push str.AppxManifest.xml
push edx
call fcn.11e67470
add esp, 8
lea eax, [esp + 0xb8]
lea ecx, [esp + 0x10]
push eax
call fcn.11e7f500
mov eax, dword [0x12133f80]
test eax, eax
je 0x11d33c24
mov ecx, dword [esp + 0x10]
push ecx
push esi
push str.CSafeInject::FindWin10AppAssocProByGUID_6__ret_0x_x__wstrXMLPath__s__n
push str.SafeInject
push 4
call fcn.11ca5810
add esp, 0x14
xor ebp, ebp
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x68]
mov dword [esp + 0x64], ebp
lea edx, [esp + 0x64]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
push edx
push ebp
push eax
or ebx, 0xffffffff
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x11d3413e
mov eax, dword [0x12133f80]
test eax, eax
je 0x11d33c82
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
push ecx
push edx
push str.CSafeInject::FindWin10AppAssocProByGUID_7__SizeHigh__lu__SizeLow__lu__n
push str.SafeInject
push 4
call fcn.11ca5810
add esp, 0x14
mov eax, dword [esp + 0x80]
test eax, eax
ja 0x11d34168
cmp dword [esp + 0x84], 0x100000
ja 0x11d34168
mov eax, dword [esp + 0x10]
push 0
push 0
push 3
push 0
push 7
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x54], ebx
je 0x11d34145
mov ecx, dword [esp + 0x84]
add ecx, 2
push ecx
call fcn.11e679bc
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x18], esi
je 0x11d3414c
mov edx, dword [esp + 0x84]
xor eax, eax
mov edi, esi
push 0
lea ecx, [edx + 2]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x88]
lea eax, [esp + 0x48]
push eax
push ecx
push esi
push ebx
mov dword [esp + 0x58], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x11d34153
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x84]
cmp edx, eax
jne 0x11d3415a
mov eax, dword [0x11fd6250]
mov dword [esp + 0x3c], eax
push 0xfde9
push esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x2d0], 0xb
call fcn.11e83680
test eax, eax
je 0x11d34161
lea ecx, [esp + 0x88]
call fcn.11f6b890
push 0x12119948
lea ecx, [esp + 0x18]
mov byte [esp + 0x2cc], 0xc
call fcn.11e7eae0
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x2c8], 0xd
push ecx
lea ecx, [esp + 0x8c]
call fcn.11f6c5f0
lea ecx, [esp + 0x88]
call fcn.11f6cce0
push str.Package
lea ecx, [esp + 0x8c]
call fcn.11f6c800
test eax, eax
je 0x11d34031
push str.Applications
lea ecx, [esp + 0x8c]
mov ebp, 0xa
call fcn.11f6c940
test eax, eax
je 0x11d34031
lea ecx, [esp + 0x88]
mov ebp, 0x14
call fcn.11f6cc40
push 0x120794c8
lea ecx, [esp + 0x8c]
call fcn.11f6c940
test eax, eax
je 0x11d34031
lea edx, [esp + 0x20]
push 0x120794c0
push edx
lea ecx, [esp + 0x90]
call fcn.11f6ce90
lea eax, [esp + 0x30]
push str.Executable
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0x2d0], 0xe
call fcn.11f6ce90
mov eax, dword [0x12133f80]
mov byte [esp + 0x2c8], 0xf
test eax, eax
je 0x11d33e75
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
push ecx
push edx
push str.CSafeInject::FindWin10AppAssocProByGUID_8__wstrID__s__wstrExe__s_
push str.SafeInject
push 4
call fcn.11ca5810
add esp, 0x14
mov eax, dword [esp + 0x20]
mov ecx, 0x1212b5c0
push eax
call fcn.11d8cf80
test eax, eax
je 0x11d33e9e
mov ecx, dword [esp + 0x30]
push 0x12079418
push ecx
call fcn.11dba100
add esp, 8
test eax, eax
jne 0x11d33ede
lea ecx, [esp + 0x30]
mov byte [esp + 0x2c8], 0xe
call fcn.11e7f280
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c8], 0xd
call fcn.11e7f280
push 0x120794c8
lea ecx, [esp + 0x8c]
call fcn.11f6c940
test eax, eax
jne 0x11d33e12
jmp 0x11d34031
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x11d33f46
lea edx, [esp + 0x40]
push 0x12022ca0
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.11e7f9f0
lea ecx, [esp + 0x30]
lea edx, [esp + 0x1c]
push ecx
mov bl, 0x10
push eax
push edx
mov byte [esp + 0x2d4], bl
call fcn.11e7f820
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2cc], 0x11
call fcn.11e7f410
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c8], bl
call fcn.11e7f280
mov byte [esp + 0x2c8], 0xf
lea ecx, [esp + 0x38]
jmp 0x11d33fe0
push 0x5c
lea ecx, [esp + 0x14]
call fcn.11e80430
push eax
lea eax, [esp + 0x3c]
push 0
push eax
lea ecx, [esp + 0x1c]
call fcn.11e815a0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2cc], 0x12
call fcn.11e7f410
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c8], 0xf
call fcn.11e7f280
lea ecx, [esp + 0x14]
push 0x12022ca0
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.11e7f9f0
lea ecx, [esp + 0x30]
lea edx, [esp + 0x38]
push ecx
mov bl, 0x13
push eax
push edx
mov byte [esp + 0x2d4], bl
call fcn.11e7f820
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2cc], 0x14
call fcn.11e7f410
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c8], bl
call fcn.11e7f280
mov byte [esp + 0x2c8], 0xf
lea ecx, [esp + 0x1c]
call fcn.11e7f280
mov eax, dword [0x12133f80]
test eax, eax
je 0x11d34007
mov eax, dword [esp + 0x14]
push eax
push str.CSafeInject::FindWin10AppAssocProByGUID_9__wstrProcExe__s_
push str.SafeInject
push 4
call fcn.11ca5810
add esp, 0x10
lea ecx, [esp + 0x30]
mov byte [esp + 0x2c8], 0xe
call fcn.11e7f280
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c8], 0xd
call fcn.11e7f280
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ecx
call fcn.11e67d05
add esp, 4
test eax, eax
je 0x11d340fe
mov edi, dword [esp + 0x2d0]
push edi
call fcn.11e67d05
add esp, 4
test eax, eax
je 0x11d340fe
mov eax, dword [0x12133f80]
test eax, eax
je 0x11d34081
mov edx, dword [esp + 0x14]
push edx
push edi
push str.CSafeInject::FindWin10AppAssocProByGUID_10__Save_Cache__wszProgid__s__wstrProcExe__s_
push str.SafeInject
push 4
call fcn.11ca5810
add esp, 0x14
mov esi, dword [esp + 0x50]
push 1
lea ecx, [esp + 0x5c]
lea eax, [esi + 4]
push eax
call fcn.11e8c590
mov eax, dword [esi + 0x5c]
push edi
mov byte [esp + 0x2cc], 0x15
lea ecx, [esi + eax*8 + 0xc]
call fcn.11e7f500
mov edx, dword [esi + 0x5c]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + edx*8 + 0x10]
call fcn.11e7f410
mov ecx, dword [esi + 0x5c]
inc ecx
mov eax, ecx
mov dword [esi + 0x5c], ecx
cmp eax, 0xa
jl 0x11d340cf
mov dword [esi + 0x5c], 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x2c8], 0xd
call fcn.11e8c5f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2d4]
push 0x103
push eax
push ecx
call fcn.11e674bf
mov esi, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 1
mov byte [esp + 0x2c8], 0xc
call fcn.11e7f280
lea ecx, [esp + 0x88]
mov byte [esp + 0x2c8], 0xb
call fcn.11f6b920
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2c8], 0xa
call fcn.11e7f280
jmp 0x11d3416d
mov ebp, 1
jmp 0x11d3416d
mov ebp, 3
jmp 0x11d3416d
mov ebp, 4
jmp 0x11d3416d
mov ebp, 5
jmp 0x11d3416d
mov ebp, 6
jmp 0x11d3416d
mov ebp, 7
jmp 0x11d3412b
mov ebp, 2
mov eax, dword [0x12133f80]
test eax, eax
je 0x11d34190
mov edx, dword [esp + 0x20]
push edx
push ebp
push str.CSafeInject::FindWin10AppAssocProByGUID_11__dwDebug__lu___bRet__d_
push str.SafeInject
push 4
call fcn.11ca5810
add esp, 0x14
test esi, esi
je 0x11d3419d
push esi
call fcn.11e679b1
add esp, 4
cmp ebx, 0xffffffff
je 0x11d341a9
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x40]
mov byte [esp + 0x2c8], 8
call fcn.11e7f280
lea ecx, [esp + 0x28]
mov byte [esp + 0x2c8], 5
call fcn.11e7f280
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c8], 4
call fcn.11e7f280
lea ecx, [esp + 0x48]
call fcn.11e8d360
lea ecx, [esp + 0x24]
mov byte [esp + 0x2c8], 3
call fcn.11e7f280
lea ecx, [esp + 0x48]
mov byte [esp + 0x2c8], 1
call fcn.11e8d290
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c8], 0
call fcn.11e7f280
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c8], 0xffffffff
call fcn.11e7f280
mov eax, dword [esp + 0x20]
jmp 0x11d34234
xor eax, eax
mov ecx, dword [esp + 0x2c0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2bc
ret 8