Function at 0x10094d40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cfef0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10106404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push ebx
push eax
mov dword [ebp - 0x30], ebx
call fcn.10095230
mov eax, dword [edi]
mov esi, dword [ebp - 0x2c]
cmp esi, eax
je 0x10094d98
lea eax, [esi + 0x10]
mov ecx, edi
push eax
push ebx
call fcn.10094bc0
test al, al
mov eax, dword [edi]
je 0x10094d9a
mov esi, eax
cmp esi, eax
je 0x10094da6
mov eax, dword [esi + 0x28]
jmp 0x10094f3a
lea eax, [edi + 0x1c]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x28]
call fcn.10029b19
lea eax, [edi + 0x7c]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x4c]
call fcn.10017690
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
mov byte [ebp - 4], 1
test esi, esi
je 0x10094efe
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10094efe
cmp dword [ebp - 0x3c], ebx
jne 0x10094dfb
lea ecx, [ebp - 0x4c]
call fcn.100049e0
jmp 0x10094f2e
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10094e21
cmp dword [ebp - 0x38], 0x10
lea ecx, [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x4c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10094e21
call eax
mov ebx, eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.100049e0
test ebx, ebx
je 0x10094f2e
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
test eax, eax
je 0x10094f2e
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.10095230
mov esi, dword [ebp - 0x2c]
cmp esi, dword [edi]
je 0x10094e6a
lea eax, [esi + 0x10]
mov ecx, edi
push eax
push dword [ebp - 0x30]
call fcn.10094bc0
test al, al
je 0x10094e98
mov eax, dword [ebp - 0x30]
mov ecx, edi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x31]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x100e5990
call fcn.10094500
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.100946f0
mov esi, dword [ebp - 0x2c]
lea eax, [edi + 8]
mov dword [esi + 0x28], ebx
mov edi, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
push edi
push ecx
mov ecx, eax
mov dword [ebp - 0x2c], eax
call fcn.10095230
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
cmp esi, dword [ecx]
je 0x10094ecb
lea eax, [esi + 0x10]
push eax
push edi
call fcn.10094bc0
test al, al
je 0x10094ef5
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x31]
mov dword [ebp - 0x30], edi
push eax
lea eax, [ebp - 0x30]
push eax
push 0x100e5990
call fcn.10094500
mov ecx, dword [ebp - 0x2c]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x30]
push eax
call fcn.100946f0
mov esi, dword [ebp - 0x30]
mov dword [esi + 0x28], 0
jmp 0x10094f30
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x10094f2e
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10094f24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10094f58
push edx
push ecx
call fcn.1009c669
add esp, 8
xor ebx, ebx
lea ecx, [ebp - 0x28]
call fcn.10028df2
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009cacf
mov esp, ebp
pop ebp
ret 4
call fcn.100a6619
int3