Function at 0x1008da90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bd715
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10248f44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x209
push str.installLib__d_
call fcn.10088f90
add esp, 8
call fcn.10070e10
test eax, eax
jne 0x1008dae6
push 0x20c
push str.installLib__d_
call fcn.10088f90
jmp 0x1008db44
add eax, 0xcc
lea ecx, [ebp - 0x70]
push eax
call fcn.1004d8a0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x60], 0
jne 0x1008db62
push 0x211
push str.installLib__d_
call fcn.10088f90
add esp, 8
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x1008db47
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008db3d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008de81
push edx
push ecx
call fcn.1018a765
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1018a722
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x5c], 0x10
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x70]
call fcn.1008a440
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 0
jne 0x1008dbe4
push 0x217
push str.installLib__d_
call fcn.10088f90
mov edx, dword [ebp - 0x14]
add esp, 8
cmp edx, 8
jb 0x1008dbcb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1008dbc1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008de81
push edx
push ecx
call fcn.1018a765
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x1008db13
push 0x21a
push str.installLib__d_
call fcn.10088f90
add esp, 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push 0x21c
push str.installLib__d_
call fcn.10088f90
push str._trencoder2.dll
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.100736e0
add esp, 0xc
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x58]
cmovae edx, dword [ebp - 0x40]
call fcn.1008a590
mov byte [ebp - 4], 3
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
cmovae eax, dword [ebp - 0x58]
push eax
push 0x222
push str.installLib__d____s_
call fcn.10088f90
add esp, 0xc
xor bl, bl
cmp dword [ebp - 0x48], 0
je 0x1008dca3
cmp dword [ebp - 0x44], 0x10
lea edx, [ebp - 0x58]
push 0x1022de54
cmovae edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], 0
call fcn.10089750
add esp, 4
test eax, eax
jne 0x1008dca3
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x1008dca1
push eax
call fcn.10193392
add esp, 4
mov bl, 1
mov ecx, 0x10231568
test bl, bl
mov eax, 0x10230980
cmove eax, ecx
push eax
push 0x225
push str.installLib__d_____s_
call fcn.10088f90
add esp, 0xc
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor cl, cl
cmp eax, 0xffffffff
je 0x1008dceb
test al, 1
movzx ecx, cl
mov edx, 1
cmovne ecx, edx
push eax
test cl, cl
mov edx, 0x1022e83c
mov eax, 0x1022e838
cmove eax, edx
push eax
push 0x10230980
push 0x22e
push str.installLib__d____s__r__s__dw__u_
call fcn.10088f90
add esp, 0x14
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1008dd46
push 0x233
push str.installLib__d_
call fcn.10088f90
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1008dd5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x238
push str.installLib__d__err__u_
call fcn.10088f90
add esp, 0xc
push 0x23a
push str.installLib__d_
call fcn.10088f90
mov edx, dword [ebp - 0x44]
add esp, 8
cmp edx, 0x10
jb 0x1008dda5
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008dd9b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008de81
push edx
push ecx
call fcn.1018a765
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 8
jb 0x1008ddf1
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1008dde7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008de81
push edx
push ecx
call fcn.1018a765
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x1008de3b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1008de31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008de81
push edx
push ecx
call fcn.1018a765
add esp, 8
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 0x10
jb 0x1008db47
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008db3d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008db3d
call fcn.1019291f
int3