Function at 0x10007c00
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x100140c6
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x1001a040]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001a040]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov eax, dword [esp + 0x260]
mov ecx, dword [esp + 0x268]
mov ebp, dword [esp + 0x254]
mov edi, dword [esp + 0x258]
mov ebx, dword [esp + 0x25c]
xor edx, edx
push 0x206
mov dword [esp + 0x20], eax
push edx
lea eax, [esp + 0x42]
push eax
mov dword [esp + 0x24], ecx
mov word [esp + 0x44], dx
call fcn.10009900
add esp, 0xc
push 0x104
lea ecx, [esp + 0x3c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.MountCore.dll
lea edx, [esp + 0x3c]
push 0x5c
push edx
call fcn.100090a0
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24c], 0
test esi, esi
je 0x10007d1c
push str.QueryInterface
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10007d15
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x14]
push ecx
push 0x100170e0
mov byte [esp + 0x254], 1
call eax
test eax, eax
je 0x10007d26
mov byte [esp + 0x24c], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10007d15
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 0x80004005
jmp 0x10007e9f
mov eax, dword [ebp + 0x34]
movzx eax, word [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
push ecx
mov ecx, dword [edx + 0xc]
call ecx
mov byte [esp + 0x24c], 0
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x10007d66
test eax, eax
je 0x10007d55
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 0x80004005
jmp 0x10007e9f
test eax, eax
je 0x10007d72
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push esi
mov dword [esp + 0x250], 0xffffffff
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp + 0x34]
cmp word [ecx], 0x5c
jne 0x10007d9c
mov dword [edi], 1
mov dword [ebp + 0x38], 2
jmp 0x10007dfe
xor eax, eax
push 4
push ecx
lea ecx, [esp + 0x2c]
push ecx
mov word [esp + 0x30], ax
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], eax
mov dword [esp + 0x3e], eax
mov word [esp + 0x42], ax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea edx, [esp + 0x24]
push edx
call esi
test eax, eax
je 0x10007df8
mov dword [edi], 1
mov eax, dword [ebp + 0x34]
push eax
mov dword [ebp + 0x38], 2
call esi
test eax, eax
jne 0x10007dfe
mov eax, 0x80004005
jmp 0x10007e9f
mov dword [edi], 0
mov eax, dword [ebp + 0x34]
mov cx, word [eax]
mov word [ebx], cx
mov eax, dword [ebp + 0x24]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x20]
mov dword [esp + 0x18], 1
call eax
test eax, eax
jne 0x10007e25
mov eax, 0x80070057
jmp 0x10007e9f
lea edi, [esp + 0x14]
mov esi, eax
call fcn.10007ed0
test eax, eax
jne 0x10007e9f
cmp dword [ebp + 0x38], 2
mov eax, dword [esp + 0x14]
jne 0x10007e47
cmp eax, 3
jne 0x10007d1c
sub eax, 3
je 0x10007e89
sub eax, 1
je 0x10007e73
sub eax, 1
je 0x10007e5d
mov eax, 1
jmp 0x10007e9f
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [ecx], 7
mov dword [edx], 0
jmp 0x10007e9d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [eax], 2
mov dword [ecx], 1
jmp 0x10007e9d
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [edx], 8
mov dword [eax], 0
xor eax, eax
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.100089b0
add esp, 0x23c
ret 0x18