Function at 0x42a0a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f9bb
mov eax, dword fs:[0]
push eax
sub esp, 0x84
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
mov esi, dword [ebp + 8]
push 0x616ba8
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x80], esi
call fcn.00406440
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x616ba8
lea ecx, [ebp - 0x30]
call fcn.00406440
mov byte [ebp - 4], 1
lea eax, [ebp - 0x7c]
push eax
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [ebp - 0x30]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x42a12b
push 0x104
lea ecx, [ebp - 0x30]
call fcn.00404070
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x7c]
push edx
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00546f08
add esp, 8
cmp eax, ebx
jl 0x42a71a
mov ecx, dword [ebp - 0x30]
cmp eax, dword [ecx - 8]
jg 0x42a71a
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov word [ecx + eax*2], dx
call fcn.00444998
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42a180
push 0x80004005
call fcn.00403760
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 3
push str.Foxit_SoftwareFoxit_ReaderSilentInstall_
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.00408fd0
add esp, 0xc
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x3c]
call fcn.004059f0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a1d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.UpdaterInfo.xml
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.00408fd0
add esp, 0xc
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x38]
call fcn.004059f0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a21d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.00453765
lea ecx, [ebp - 0x6c]
call fcn.0045989b
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x38]
push ebx
push ebx
push ecx
lea ecx, [ebp - 0x6c]
call fcn.00459d7e
test eax, eax
je 0x42a6c3
lea ecx, [ebp - 0x6c]
call fcn.00459787
mov esi, eax
cmp esi, ebx
jne 0x42a2f9
lea ecx, [ebp - 0x6c]
call fcn.00459836
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
call fcn.004599cb
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42a292
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a2b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a2db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 4
push esi
call fcn.004438a2
mov edi, eax
add esp, 4
mov dword [ebp - 0x74], edi
lea ecx, [ebp - 0x6c]
cmp edi, ebx
jne 0x42a36a
call fcn.00459836
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
call fcn.004599cb
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a342
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a365
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42a2b5
push esi
push edi
call fcn.00459590
mov esi, eax
cmp esi, ebx
jle 0x42a6b2
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0xf
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.00405c50
push 0xc
push ebx
push str.updater_info
lea ecx, [ebp - 0x2c]
call fcn.00403e10
cmp eax, 0xffffffff
jne 0x42a401
push edi
call fcn.00443897
add esp, 4
lea ecx, [ebp - 0x6c]
call fcn.00459836
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.00404e40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
call fcn.004599cb
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00404610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00404610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00404610
jmp 0x42a2db
push ebx
push ebx
push ebx
push ebx
push esi
push edi
call fcn.0056f391
mov esi, eax
add esp, 0x18
mov dword [ebp - 0x70], esi
cmp esi, ebx
je 0x42a3ac
mov ecx, esi
call fcn.0056e675
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x44], ebx
cmp eax, ebx
jle 0x42a67e
lea ecx, [ecx]
push ebx
mov ecx, esi
call fcn.0056e8a1
mov edi, eax
mov dword [ebp - 0x50], edi
test edi, edi
je 0x42a66c
push 0x1c
call fcn.00443868
add esp, 4
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0x10
xor esi, esi
cmp eax, esi
je 0x42a46a
mov ecx, eax
call fcn.00426d20
mov ebx, eax
mov dword [ebp - 0x48], ebx
jmp 0x42a46f
mov dword [ebp - 0x48], esi
mov ebx, esi
mov byte [ebp - 4], 0xf
mov ecx, ebx
call fcn.00404000
lea ecx, [ebx + 4]
call fcn.00404000
push 0xffffffffffffffff
lea ecx, [ebx + 8]
push esi
call fcn.0045a920
push 0xffffffffffffffff
push 0x5951e6
lea ecx, [ebp - 0x34]
call fcn.0056bf21
mov byte [ebp - 4], 0x11
push 0xffffffffffffffff
push 0x616ba8
lea ecx, [ebp - 0x40]
call fcn.0056cdab
mov byte [ebp - 4], 0x12
push 0xffffffffffffffff
push 0x5951e6
lea ecx, [ebp - 0x4c]
call fcn.0056bf21
mov byte [ebp - 4], 0x13
lea ecx, [edi + 0x14]
call fcn.0056e67e
mov edi, eax
test edi, edi
jle 0x42a55f
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x50]
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.0056e80c
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x88], str.name
mov dword [ebp - 0x84], 4
call fcn.0056c001
test al, al
je 0x42a52b
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x42a522
add eax, 0xc
mov ecx, ebx
jmp 0x42a550
mov eax, 0x616ba8
mov ecx, ebx
jmp 0x42a550
push 0x595c70
lea ecx, [ebp - 0x34]
call fcn.00425f80
test al, al
je 0x42a556
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x42a548
add eax, 0xc
jmp 0x42a54d
mov eax, 0x616ba8
lea ecx, [ebx + 4]
push eax
call fcn.00406060
inc esi
cmp esi, edi
jl 0x42a4d8
mov ecx, dword [ebp - 0x50]
call fcn.0056e675
xor ecx, ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
test eax, eax
jle 0x42a635
push ecx
mov ecx, dword [ebp - 0x50]
call fcn.0056e8a1
mov edi, eax
test edi, edi
je 0x42a625
push 0x5951e6
lea ecx, [ebp - 0x34]
call fcn.0056ca0b
push 0x616ba8
lea ecx, [ebp - 0x40]
call fcn.0056d454
push 0x5951e6
lea ecx, [ebp - 0x4c]
call fcn.0056ca0b
lea ecx, [edi + 0x14]
call fcn.0056e67e
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x42a622
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x4c]
push ecx
push esi
mov ecx, edi
call fcn.0056e80c
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x90], str.path
mov dword [ebp - 0x8c], 4
call fcn.0056c001
test al, al
je 0x42a61d
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x42a608
add eax, 0xc
jmp 0x42a60d
mov eax, 0x616ba8
mov edx, dword [ebp - 0x48]
mov ecx, dword [edx + 0x10]
push eax
push ecx
lea ecx, [edx + 8]
call fcn.0045ac72
inc esi
cmp esi, ebx
jl 0x42a5c1
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x58]
inc ecx
mov dword [ebp - 0x58], ecx
cmp ecx, dword [ebp - 0x54]
jl 0x42a577
mov ecx, dword [ebp - 0x80]
mov eax, dword [ecx + 8]
push ebx
push eax
call fcn.0045388b
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x4c]
call fcn.0056bf07
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x40]
call fcn.0056bf07
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x34]
call fcn.0056bf07
mov esi, dword [ebp - 0x70]
mov ebx, dword [ebp - 0x44]
inc ebx
mov dword [ebp - 0x44], ebx
cmp ebx, dword [ebp - 0x78]
jl 0x42a430
mov edi, dword [ebp - 0x74]
xor ebx, ebx
mov ecx, esi
call fcn.0056ec9c
push esi
call fcn.0056f6f4
add esp, 4
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], 0x10
jb 0x42a6a4
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00443897
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], 0
push edi
call fcn.00443897
add esp, 4
lea ecx, [ebp - 0x6c]
call fcn.00459836
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
call fcn.004599cb
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a6f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a715
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42a2b5
push 0x80070057
call fcn.00403760
int3