Function at 0x100d8450
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10118c80
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1015e404]
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.100d8940
mov eax, dword [edi]
mov esi, dword [ebp - 0x2c]
cmp esi, eax
je 0x100d84a8
lea eax, [esi + 0x10]
mov ecx, edi
push eax
push ebx
call fcn.100d82d0
test al, al
mov eax, dword [edi]
je 0x100d84aa
mov esi, eax
cmp esi, eax
je 0x100d84b6
mov eax, dword [esi + 0x28]
jmp 0x100d864a
lea eax, [edi + 0x1c]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x28]
call fcn.100086d0
lea eax, [edi + 0x7c]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x4c]
call fcn.100028b0
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
mov byte [ebp - 4], 1
test esi, esi
je 0x100d860e
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100d860e
cmp dword [ebp - 0x3c], ebx
jne 0x100d850b
lea ecx, [ebp - 0x4c]
call fcn.10002a20
jmp 0x100d863e
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x100d8531
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 0x100d8531
call eax
mov ebx, eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.10002a20
test ebx, ebx
je 0x100d863e
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
test eax, eax
je 0x100d863e
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.100d8940
mov esi, dword [ebp - 0x2c]
cmp esi, dword [edi]
je 0x100d857a
lea eax, [esi + 0x10]
mov ecx, edi
push eax
push dword [ebp - 0x30]
call fcn.100d82d0
test al, al
je 0x100d85a8
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 0x10134c60
call fcn.100d7c10
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.100d7e00
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.100d8940
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
cmp esi, dword [ecx]
je 0x100d85db
lea eax, [esi + 0x10]
push eax
push edi
call fcn.100d82d0
test al, al
je 0x100d8605
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x31]
mov dword [ebp - 0x30], edi
push eax
lea eax, [ebp - 0x30]
push eax
push 0x10134c60
call fcn.100d7c10
mov ecx, dword [ebp - 0x2c]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x30]
push eax
call fcn.100d7e00
mov esi, dword [ebp - 0x30]
mov dword [esi + 0x28], 0
jmp 0x100d8640
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x100d863e
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d8634
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d8668
push edx
push ecx
call fcn.10067a8e
add esp, 8
xor ebx, ebx
lea ecx, [ebp - 0x28]
call fcn.10003e90
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.10067a9c
mov esp, ebp
pop ebp
ret 4
call fcn.100e0d2e
int3