Function at 0x42c140
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57fe95
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x6459b8]
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
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x424], ebx
mov edi, 1
mov dword [ebp - 4], edi
push 0x616ba8
mov ecx, esi
call fcn.00406440
lea eax, [ebp - 0x430]
push eax
push 0x1a
push ebx
mov dword [ebp - 0x424], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esi]
mov ecx, edi
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
jge 0x42c1d1
push 0x104
mov ecx, esi
call fcn.00404070
mov eax, dword [esi]
mov ecx, dword [ebp - 0x430]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
cmp eax, ebx
jne 0x42c1ee
xor eax, eax
jmp 0x42c200
push ecx
push eax
call fcn.00546f08
add esp, 8
cmp eax, ebx
jl 0x42c429
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x42c429
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
mov edx, dword [ebp + 0xc]
push 0x2f
push edx
call fcn.00546eda
add esp, 8
cmp eax, ebx
jne 0x42c22d
or eax, 0xffffffff
jmp 0x42c232
sub eax, dword [ebp + 0xc]
sar eax, 1
inc eax
push eax
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp + 0xc]
call fcn.00405980
mov edi, eax
mov byte [ebp - 4], 2
mov eax, dword [edi]
mov dword [ebp - 0x424], 3
cmp dword [eax - 0xc], ebx
jl 0x42c286
push 0x5977e0
push eax
call fcn.00546303
add esp, 8
cmp eax, ebx
je 0x42c286
sub eax, dword [edi]
sar eax, 1
jne 0x42c286
mov ecx, dword [ebp - 0x42c]
cmp dword [ecx + 0x18], ebx
je 0x42c286
cmp dword [ebp + 0x10], ebx
je 0x42c286
mov bl, 1
jmp 0x42c288
xor bl, bl
mov dword [ebp - 4], 1
mov eax, 3
mov dword [ebp - 0x424], eax
and eax, 0xfffffffd
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c2c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
test bl, bl
je 0x42c2d8
push 0x37
push str.Foxit_SoftwareFoxit_ReaderSilentInstalljavascripts_
jmp 0x42c2df
push 0x2b
push str.Foxit_SoftwareAddonFoxit_ReaderInstall_
call fcn.00408e40
mov eax, dword [esi]
mov edi, dword [ebp - 0x42c]
push eax
mov ecx, edi
call fcn.00426410
mov ecx, dword [ebp + 0xc]
push 0x2f
push ecx
call fcn.00546eda
add esp, 8
test eax, eax
je 0x42c362
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
jle 0x42c362
inc eax
push eax
lea edx, [ebp - 0x428]
push edx
lea ecx, [ebp + 0xc]
call fcn.00405980
mov byte [ebp - 4], 4
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00408e40
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c3e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42c3e3
push 0x208
lea ecx, [ebp - 0x420]
push 0
push ecx
call fcn.00546d60
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
push 0x104
mov ecx, edi
call fcn.004261e0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00546d60
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0
push str.frd
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42c3c5
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.004050c0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c409
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
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.00546bde
mov esp, ebp
pop ebp
ret 0xc
push 0x80070057
call fcn.00403760
int3