Function at 0x428470
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579ec5
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x5f6998]
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 0x58df78
mov ecx, esi
call fcn.00403d90
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 0x428501
push 0x104
mov ecx, esi
call fcn.004019c0
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 0x42851e
xor eax, eax
jmp 0x428530
push ecx
push eax
call fcn.00542f68
add esp, 8
cmp eax, ebx
jl 0x428759
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x428759
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.00542f3a
add esp, 8
cmp eax, ebx
jne 0x42855d
or eax, 0xffffffff
jmp 0x428562
sub eax, dword [ebp + 0xc]
sar eax, 1
inc eax
push eax
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp + 0xc]
call fcn.004032d0
mov edi, eax
mov byte [ebp - 4], 2
mov eax, dword [edi]
mov dword [ebp - 0x424], 3
cmp dword [eax - 0xc], ebx
jl 0x4285b6
push 0x5904b0
push eax
call fcn.00542363
add esp, 8
cmp eax, ebx
je 0x4285b6
sub eax, dword [edi]
sar eax, 1
jne 0x4285b6
mov ecx, dword [ebp - 0x42c]
cmp dword [ecx + 0x18], ebx
je 0x4285b6
cmp dword [ebp + 0x10], ebx
je 0x4285b6
mov bl, 1
jmp 0x4285b8
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 0x4285f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
test bl, bl
je 0x428608
push 0x37
push str.Foxit_SoftwareFoxit_ReaderSilentInstalljavascripts_
jmp 0x42860f
push 0x2b
push str.Foxit_SoftwareAddonFoxit_ReaderInstall_
call fcn.004066d0
mov eax, dword [esi]
mov edi, dword [ebp - 0x42c]
push eax
mov ecx, edi
call fcn.00407770
mov ecx, dword [ebp + 0xc]
push 0x2f
push ecx
call fcn.00542f3a
add esp, 8
test eax, eax
je 0x428692
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
jle 0x428692
inc eax
push eax
lea edx, [ebp - 0x428]
push edx
lea ecx, [ebp + 0xc]
call fcn.004032d0
mov byte [ebp - 4], 4
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.004066d0
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 0x428713
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x428713
push 0x208
lea ecx, [ebp - 0x420]
push 0
push ecx
call fcn.00542dc0
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
push 0x104
mov ecx, edi
call fcn.00422660
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00542dc0
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 0x4286f5
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00402a10
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 0x428739
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.00542c3e
mov esp, ebp
pop ebp
ret 0xc
push 0x80070057
call fcn.00401090
int3