Function at 0x413f6d
Capabilities:
Check if file exists
Get common file path
Get file attributes
Link many functions at runtime
Set current directory

Disassembly:
push 0x10
mov eax, 0x46c375
call fcn.004529c4
xor ebx, ebx
cmp dword [0x4b74f0], ebx
jne 0x414171
cmp dword [ebp + 8], ebx
je 0x414171
mov edi, dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
push ebx
push ebx
call edi
mov esi, eax
add esi, 0x13
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call main
pop ecx
push eax
push esi
mov dword [ebp - 0x1c], eax
call edi
mov edi, dword [ebp + 8]
lea eax, [edi + 0x68]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401326
mov dword [ebp - 4], ebx
call fcn.00401bec
lea ecx, [ebp - 0x10]
test eax, eax
je 0x413fe2
push str.Reader_
jmp 0x413fe7
push str.Acrobat_
call fcn.004075b6
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401326
push str.logsession.dll
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004075b6
mov edi, dword [ebp - 0x14]
push edi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ebx, dword [ebp - 0x10]
cmp eax, 0xffffffff
je 0x41404f
push ebx
push str.Agent
push str.SoftwareAdobeCommonFilesUsageCC_
push SysReAllocString
call main
mov esi, dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
add esp, 0x10
push ebx
call esi
push edi
call dword [sym.imp.kernel32.dll_LoadLibraryW]
push dword [ebp - 0x1c]
mov dword [0x4b74f0], eax
call esi
jmp 0x414083
push str.FileExist_failed:
lea ecx, [ebp - 0x18]
call fcn.004012e2
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 2
mov byte [ebp - 4], 2
call fcn.004112e0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
push dword [ebp - 0x1c]
call main
mov eax, dword [0x4b74f0]
pop ecx
test eax, eax
jne 0x4140da
push str.LoadLibrary_failed:
lea ecx, [ebp - 0x1c]
call fcn.004012e2
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 2
mov byte [ebp - 4], 3
call fcn.004112e0
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
lea ecx, [edi - 0x10]
call fcn.004017df
lea ecx, [ebx - 0x10]
call fcn.004017df
jmp 0x414213
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.UTInitialize
push eax
call esi
push str.UTStartSession
push dword [0x4b74f0]
mov dword [0x4b74f4], eax
call esi
push str.UTLogEvent
push dword [0x4b74f0]
mov dword [0x4b75fc], eax
call esi
push str.UTNewDataGroup
push dword [0x4b74f0]
mov dword [0x4b7600], eax
call esi
push str.UTAddToGroup
push dword [0x4b74f0]
mov dword [0x4b7604], eax
call esi
push str.UTCloseSession
push dword [0x4b74f0]
mov dword [0x4b7608], eax
call esi
push str.UTDisableRealTime
push dword [0x4b74f0]
mov dword [0x4b760c], eax
call esi
lea ecx, [edi - 0x10]
mov dword [0x4b7610], eax
call fcn.004017df
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx - 0x10]
call fcn.004017df
xor ebx, ebx
jmp 0x4141a3
push str.No_condition_to_load_library
lea ecx, [ebp - 0x1c]
call fcn.004012e2
push ebx
lea eax, [ebp - 0x1c]
push eax
push 2
mov dword [ebp - 4], 4
call fcn.004117b0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [0x4b75fc], ebx
je 0x4141cf
cmp dword [0x4b7600], ebx
je 0x4141cf
cmp dword [0x4b7604], ebx
je 0x4141cf
cmp dword [0x4b7608], ebx
je 0x4141cf
cmp dword [0x4b760c], ebx
je 0x4141cf
mov al, 1
jmp 0x414215
push str.One_of_the_exports_failed
lea ecx, [ebp - 0x18]
call fcn.004012e2
push ebx
lea eax, [ebp - 0x18]
push eax
push 2
mov dword [ebp - 4], 5
call fcn.004117b0
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov eax, dword [0x4b74f0]
cmp eax, ebx
je 0x41420d
push eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov dword [0x4b74f0], ebx
xor al, al
call fcn.00452a9c
ret