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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x461087
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4a1d50]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x4a6430], ebx
jne 0x411af5
cmp dword [ebp + 8], ebx
je 0x411af5
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 fcn.00436333
pop ecx
push eax
push esi
mov dword [esp + 0x28], eax
call edi
mov edi, dword [ebp + 8]
lea eax, [edi + 0x70]
push eax
lea ecx, [esp + 0x18]
call fcn.0040134f
mov dword [esp + 0x30], ebx
call fcn.00401b96
lea ecx, [esp + 0x14]
test eax, eax
je 0x411964
push str.Reader_
jmp 0x411969
push str.Acrobat_
call fcn.00406262
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040134f
push str.logsession.dll
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.00406262
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x4119d8
push ebx
push str.Agent
push str.SoftwareAdobeCommonFilesUsageCC_
push 0x80000001
call fcn.0042ec58
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 [esp + 0x20]
mov dword [0x4a6430], eax
call esi
jmp 0x411a12
push str.FileExist_failed:
lea ecx, [esp + 0x20]
call fcn.0040130b
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
push 2
mov byte [esp + 0x40], 2
call fcn.0040f821
mov byte [esp + 0x40], 1
mov ecx, dword [esp + 0x2c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017c4
push dword [esp + 0x20]
call fcn.0043633e
mov eax, dword [0x4a6430]
pop ecx
test eax, eax
jne 0x411a6f
push str.LoadLibrary_failed:
lea ecx, [esp + 0x24]
call fcn.0040130b
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
push 2
mov byte [esp + 0x40], 3
call fcn.0040f821
mov ecx, dword [esp + 0x30]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017c4
lea ecx, [edi - 0x10]
call fcn.004017c4
lea ecx, [ebx - 0x10]
call fcn.004017c4
jmp 0x411ba0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.UTInitialize
push eax
call esi
push str.UTStartSession
push dword [0x4a6430]
mov dword [0x4a6434], eax
call esi
push str.UTLogEvent
push dword [0x4a6430]
mov dword [0x4a653c], eax
call esi
push str.UTNewDataGroup
push dword [0x4a6430]
mov dword [0x4a6540], eax
call esi
push str.UTAddToGroup
push dword [0x4a6430]
mov dword [0x4a6544], eax
call esi
push str.UTCloseSession
push dword [0x4a6430]
mov dword [0x4a6548], eax
call esi
lea ecx, [edi - 0x10]
mov dword [0x4a654c], eax
call fcn.004017c4
or dword [esp + 0x30], 0xffffffff
lea ecx, [ebx - 0x10]
call fcn.004017c4
xor ebx, ebx
jmp 0x411b2c
push str.No_condition_to_load_library
lea ecx, [esp + 0x24]
call fcn.0040130b
push ebx
lea eax, [esp + 0x24]
push eax
push 2
mov dword [esp + 0x3c], 4
call fcn.0040fcf3
or dword [esp + 0x3c], 0xffffffff
mov ecx, dword [esp + 0x2c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
cmp dword [0x4a653c], ebx
je 0x411b58
cmp dword [0x4a6540], ebx
je 0x411b58
cmp dword [0x4a6544], ebx
je 0x411b58
cmp dword [0x4a6548], ebx
je 0x411b58
cmp dword [0x4a654c], ebx
je 0x411b58
mov al, 1
jmp 0x411ba2
push str.One_of_the_exports_failed
lea ecx, [esp + 0x20]
call fcn.0040130b
push ebx
lea eax, [esp + 0x20]
push eax
push 2
mov dword [esp + 0x3c], 5
call fcn.0040fcf3
mov ecx, dword [esp + 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, dword [0x4a6430]
cmp eax, ebx
je 0x411b9a
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4a6430], ebx
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret