Function at 0x46ef70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [0x5563e8]
push esi
mov esi, dword [ebp + 0xc]
mov byte [ebp - 0x75], 0
test eax, eax
je 0x46f0ce
push ebx
push edi
lea edi, [eax + 4]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [ebx + 0x51]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, str.AcrobatLogTransport2.exe
test bl, bl
jne 0x46efc1
mov eax, 0x518708
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004155f0
add esp, 8
cmp dword [ebp - 0x2c], 0
mov edi, 8
je 0x46f0bb
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x28], edi
jae 0x46efe8
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46f0bb
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x3c]
push edx
push eax
call fcn.004407c0
add esp, 8
test al, al
je 0x46f084
push 1
xor edx, edx
mov ebx, 7
push 0x517248
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], dx
call fcn.0040e6e0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040e830
push 1
push 0x517248
lea ecx, [ebp - 0x20]
call fcn.0040e6e0
lea ecx, [ebp - 0x20]
push ecx
push esi
call fcn.004407c0
add esp, 8
test al, al
je 0x46f08f
mov byte [ebp - 0x75], 1
cmp dword [ebp - 0xc], edi
jb 0x46f074
mov edx, dword [ebp - 0x20]
push edx
call fcn.00406fa9
add esp, 4
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xc], ebx
mov word [ebp - 0x20], ax
cmp dword [ebp - 0x28], edi
jb 0x46f0cc
mov ecx, dword [ebp - 0x3c]
push ecx
jmp 0x46f0c4
mov eax, dword [ebp - 0x10]
lea edx, [eax + 0x25]
cmp dword [esi + 0x10], edx
je 0x46f0e0
cmp dword [ebp - 0xc], edi
jb 0x46f0ab
mov eax, dword [ebp - 0x20]
push eax
call fcn.00406fa9
add esp, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 0
xor ecx, ecx
mov word [ebp - 0x20], cx
cmp dword [ebp - 0x28], edi
jb 0x46f0cc
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00406fa9
add esp, 4
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x75]
xor ecx, ebp
pop esi
call fcn.00401316
mov esp, ebp
pop ebp
ret
xor ecx, ecx
push eax
push ecx
mov word [ebp - 0x74], cx
push esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], 0
call fcn.00406a40
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x74]
push eax
call fcn.004407c0
add esp, 8
test al, al
sete byte [ebp - 0x76]
cmp dword [ebp - 0x60], edi
jb 0x46f122
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.00406fa9
add esp, 4
cmp byte [ebp - 0x76], 0
jne 0x46f063
cmp dword [esi + 0x14], edi
jb 0x46f135
mov ecx, dword [esi]
jmp 0x46f137
mov ecx, esi
mov eax, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0x20
jne 0x46f063
push 0xffffffffffffffff
inc eax
push eax
xor edx, edx
push esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], dx
call fcn.00406a40
lea eax, [ebp - 0x58]
push eax
call fcn.0046eb70
add esp, 4
test al, al
jne 0x46f1ad
cmp dword [ebp - 0x44], edi
jb 0x46f183
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.00406fa9
add esp, 4
xor esi, esi
xor edx, edx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], esi
mov word [ebp - 0x58], dx
cmp dword [ebp - 0xc], edi
jb 0x46f1a2
mov eax, dword [ebp - 0x20]
push eax
call fcn.00406fa9
add esp, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esi
jmp 0x46f0b5
mov byte [ebp - 0x75], 1
cmp dword [ebp - 0x44], edi
jb 0x46f1c2
mov eax, dword [ebp - 0x58]
push eax
call fcn.00406fa9
add esp, 4
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], esi
mov word [ebp - 0x58], cx
cmp dword [ebp - 0xc], edi
jb 0x46f1e1
mov edx, dword [ebp - 0x20]
push edx
call fcn.00406fa9
add esp, 4
mov dword [ebp - 0x10], esi
jmp 0x46f07b